Skip to content

Commit a4d94c7

Browse files
author
NoahLuftYang
committed
End CSS
1 parent b4fc9ea commit a4d94c7

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
* 부드러운 탭(띄어쓰기 2칸) 들여쓰기를 사용하세요.
7070
* 클래스 이름에는 camelCase 방식보다 대시(-)를 사용하세요.
71-
- 만약 당신이 BEM(아래 [OOCSS and BEM](#oocss와-bem) 참조)을 사용하고 계신다면 밑줄(_)과 PalcalCase 방식을 사용하셔도 괜찮습니다.
71+
- 만약 당신이 BEM(아래 [OOCSS와 BEM](#oocss와-bem) 참조)을 사용하고 계신다면 밑줄(_)과 PalcalCase 방식을 사용하셔도 괜찮습니다.
7272
* ID 선택자를 사용하지 마세요.
7373
* 당신이 규칙 선언부에서 다중 선택자를 사용하실 때, 선택자를 한 줄에 한개씩 적어주세요.
7474
* 규칙 선언부의 여는 괄호 `{` 이전에 띄어쓰기를 넣어주세요.
@@ -107,34 +107,34 @@
107107

108108
### 주석
109109

110-
* Prefer line comments (`//` in Sass-land) to block comments.
111-
* Prefer comments on their own line. Avoid end-of-line comments.
112-
* Write detailed comments for code that isn't self-documenting:
113-
- Uses of z-index
114-
- Compatibility or browser-specific hacks
110+
* 블록 형식 주석보다 라인 형태 주석(Sass일 경우 `//`)을 권장합니다.
111+
* 주석을 새로운 줄에 적어주세요. 선택자 또는 속성과 같은 줄에 주석을 작성하는 방식을 피해주세요.
112+
* 코드 자체만으로 이해하기 어려운 경우 자세한 주석을 작성해주세요:
113+
- z-index를 사용하는 경우
114+
- 특정 브라우저를 지원하기 위해 사용하는 경우
115115

116-
### OOCSS and BEM
116+
### OOCSS와 BEM
117117

118-
We encourage some combination of OOCSS and BEM for these reasons:
118+
우리는 다음과 같은 이유로 OOCSS와 BEM의 혼용을 권장합니다:
119119

120-
* It helps create clear, strict relationships between CSS and HTML
121-
* It helps us create reusable, composable components
122-
* It allows for less nesting and lower specificity
123-
* It helps in building scalable stylesheets
120+
* CSS와 HTML 사이의 명확하고, 엄격한 관계를 형성하는 데에 도움을 줍니다
121+
* 재사용 가능하고, 작성 가능한 컴포넌트를 만드는 데에 도움을 줍니다
122+
* 보다 적은 중첩과 낮은 특수성을 갖게 합니다
123+
* 확장성 있는 스타일시트를 작성하도록 도움을 줍니다
124124

125-
**OOCSS**, or “Object Oriented CSS”, is an approach for writing CSS that encourages you to think about your stylesheets as a collection of “objects”: reusable, repeatable snippets that can be used independently throughout a website.
125+
**OOCSS**, 또는 “Object Oriented CSS”는 당신의 스타일시트를 "객체"의 모음(한 웹사이트에서 독립적으로 사용되는, 재사용 가능하고 반복 가능한 단편들)로 판단하게 만드는 CSS 작성을 위한 접근 방식입니다.
126126

127-
* Nicole Sullivan's [OOCSS wiki](https://github.com/stubbornella/oocss/wiki)
128-
* Smashing Magazine's [Introduction to OOCSS](http://www.smashingmagazine.com/2011/12/12/an-introduction-to-object-oriented-css-oocss/)
127+
* Nicole Sullivan의 [OOCSS wiki](https://github.com/stubbornella/oocss/wiki)
128+
* Smashing Magazine의 [Introduction to OOCSS](http://www.smashingmagazine.com/2011/12/12/an-introduction-to-object-oriented-css-oocss/)
129129

130-
**BEM**, or “Block-Element-Modifier”, is a _naming convention_ for classes in HTML and CSS. It was originally developed by Yandex with large codebases and scalability in mind, and can serve as a solid set of guidelines for implementing OOCSS.
130+
**BEM**, 또는 “Block-Element-Modifier”는 HTML과 CSS 내부의 클래스에 대한 _명명 협약_입니다. 이것은 원래 대량의 코드베이스와 확장 가능성을 염두해두고 Yandex에서 개발되었으며, OOCSS 구현을 위한 견고한 가이드라인으로 사용될 수 있습니다.
131131

132-
* CSS Trick's [BEM 101](https://css-tricks.com/bem-101/)
133-
* Harry Roberts' [introduction to BEM](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/)
132+
* CSS Trick의 [BEM 101](https://css-tricks.com/bem-101/)
133+
* Harry Roberts의 [introduction to BEM](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/)
134134

135-
We recommend a variant of BEM with PascalCased “blocks”, which works particularly well when combined with components (e.g. React). Underscores and dashes are still used for modifiers and children.
135+
우리는 React와 같은 컴포넌트들과 결합할 때 부분적으로 잘 작동하는 PascalCase 형태의 "블록들"과 함께 BEM의 변형을 권장합니다. 밑줄과 대시는 아직 변형자와 자식에게 사용됩니다.
136136

137-
**Example**
137+
**예시**
138138

139139
```jsx
140140
// ListingCard.jsx

0 commit comments

Comments
 (0)