サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
GPT-4o
www.cssmojo.com
Note: this started as a rebuttal to Jeffrey Zeldman’s piece (Kiss My Classname) but I thought there was more to it, hence the title… I disagree with many things Jeffrey says: Nonsemantic classnames that refer to visual styles will always be a bad idea. I know most of you weren’t around for the standards wars and don’t know how much damage non-semantic HTML and CSS did to the web. — Kiss My Classna
.cf:before, .cf:after { content: " "; display: table; } .cf:after { clear: both; } /** * For IE 6/7 only * Include this rule to trigger hasLayout and contain floats. */ .cf { *zoom: 1; } This is because dropping support for oldIE allowed us to part with both zoom:1 and :before as their only use was for cross-browsers support. In oldIE, zoom:1 triggers something known as hasLayout which creates—mor
This is a JavaScript-free solution to create a "sliding" marker next to or behind links in vertical or horizontal menus. Something called JQuery MagicLine Navigation on CSS-TRICKS. TL;DR: With an additional sliding bullet on codepen, and a horizontal version at the bottom of this article. Make sure to read the update section. The Markup This solution relies on a structural hack as we use the last
このページを最初にブックマークしてみませんか?
『www.cssmojo.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く