-
Notifications
You must be signed in to change notification settings - Fork 8
/
style.css
70 lines (64 loc) · 1 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* reset and common codes starts here */
* {
box-sizing: border-box;
list-style-type: none;
margin: 0;
padding: 0;
outline: none;
}
div {
padding: 1rem;
margin: 1rem 0;
}
.btn {
border: none;
border-radius: 0.6rem;
padding: 0.5rem;
cursor: pointer;
}
/* reset and common codes starts here */
/* specificity issue: avoid id/tag example starts */
/* #container h2 {
color: brown;
}
.card h2 {
color: green;
} */
/* specificity issue: avoid id/tag example ends */
/* CSS class clashes example starts here*/
/* .title {
color: brown;
} */
/* CSS class clashes example ends here*/
/* bem starts here */
.card {
background-color: bisque;
}
.card--large {
width: 20rem;
}
.card__title {
color: brown;
}
.card__text {
}
.card__btn {
background-color: aqua;
}
.card__btn--large {
width: 8rem;
}
.feedback {
background-color: rgb(100, 98, 95);
}
.feedback-medium {
width: 15rem;
}
.feedback__title {
}
.feedback__text {
}
.feedback__btn {
background-color: violet;
}
/* bem ends here */