You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ A “rule declaration” is the name given to a selector (or a group of selector
37
37
}
38
38
```
39
39
40
-
### Selectors
40
+
### Seçiciler
41
41
42
42
In a rule declaration, “selectors” are the bits that determine which elements in the DOM tree will be styled by the defined properties. Selectors can match HTML elements, as well as an element's class, ID, or any of its attributes. Here are some examples of selectors:
43
43
@@ -51,7 +51,7 @@ In a rule declaration, “selectors” are the bits that determine which element
51
51
}
52
52
```
53
53
54
-
### Properties
54
+
### Özellikler
55
55
56
56
Finally, properties are what give the selected elements of a rule declaration their style. Properties are key-value pairs, and a rule declaration can contain one or more property declarations. Property declarations look like this:
57
57
@@ -64,7 +64,7 @@ Finally, properties are what give the selected elements of a rule declaration th
64
64
65
65
## CSS
66
66
67
-
### Formatting
67
+
### Düzenleme
68
68
69
69
* Use soft tabs (2 spaces) for indentation
70
70
* Prefer dashes over camelCasing in class names.
@@ -105,15 +105,15 @@ Finally, properties are what give the selected elements of a rule declaration th
105
105
}
106
106
```
107
107
108
-
### Comments
108
+
### Yorumlar
109
109
110
110
* Prefer line comments (`//` in Sass-land) to block comments.
111
111
* Prefer comments on their own line. Avoid end-of-line comments.
112
112
* Write detailed comments for code that isn't self-documenting:
113
113
- Uses of z-index
114
114
- Compatibility or browser-specific hacks
115
115
116
-
### OOCSS and BEM
116
+
### OOCSS ve BEM
117
117
118
118
We encourage some combination of OOCSS and BEM for these reasons:
119
119
@@ -165,7 +165,7 @@ function ListingCard() {
165
165
*`.ListingCard__title` is an “element” and represents a descendant of `.ListingCard` that helps compose the block as a whole.
166
166
*`.ListingCard--featured` is a “modifier” and represents a different state or variation on the `.ListingCard` block.
167
167
168
-
### ID selectors
168
+
### ID Seçiciler
169
169
170
170
While it is possible to select elements by ID in CSS, it should generally be considered an anti-pattern. ID selectors introduce an unnecessarily high level of [specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity) to your rule declarations, and they are not reusable.
171
171
@@ -288,7 +288,7 @@ Again: **never nest ID selectors!**
288
288
289
289
If you must use an ID selector in the first place (and you should really try not to), they should never be nested. If you find yourself doing this, you need to revisit your markup, or figure out why such strong specificity is needed. If you are writing well formed HTML and CSS, you should **never** need to do this.
290
290
291
-
## Translation
291
+
## Çeviriler
292
292
293
293
This style guide is also available in other languages:
0 commit comments