サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
iPhone 16
getbem.com
IntroductionOn smaller brochure sites, how you organize your styles isn’t usually a big concern. You get in there, write some CSS, or maybe even some SASS. You compile it all into a single stylesheet with SASS’s production settings, and then you aggregate it to get all the stylesheets from modules into a nice tidy package. However, when it comes to larger, more complex projects, how you organize y
BEM — is a methodology that helps you to create reusable components and code sharing in front‑end development Learn why it's better #opinions_box h1 { margin: 0 0 8px 0; text-align: center; } #opinions_box { p.more_pp { a { text-decoration: underline; } } input[type="text"] { border: 1px solid #ccc!important; } } .opinions-box { margin: 0 0 8px 0; text-align: center; &__view-more { text-decoration
Naming There are only two hard problems in Computer Science: cache invalidation and naming things — Phil Karlton It is a known fact that the right styleguide can significantly increase development speed, debugging, and the implementation of new features in legacy code. Sadly, most CSS codebases are sometimes developed without any structure or naming conventions. This leads to an unmaintainable CSS
このページを最初にブックマークしてみませんか?
『BEM — Block Element Modifier』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く