jh3y / driveway

pure CSS masonry layouts
https://jh3y.github.io/driveway
Other
632 stars 85 forks source link

Whats the deal with the class names? #5

Closed jonagoldman closed 8 years ago

jonagoldman commented 8 years ago

Hey, sorry for not following your issue guidelines, but I just want to know whats the deal with the class names. Its extremely hard to understand all the abbreviations, just look at this:

<div class="dw-pnl dw-flp dw-flp--md">
  <div class="dw-pnl__cntnt dw-flp__cntnt">
    <div class="dw-flp__pnl dw-flp__pnl--frnt">
      <h1>You can flip me round</h1>
    </div>
    <div class="dw-flp__pnl dw-flp__pnl--bck">
      <h1>Yeah that's right</h1>
    </div>
  </div>
</div>

What?! Is this supposed to be more readable?

What about this alternative:

<div class="dw-panel dw-flip dw-flip-medium">
  <div class="dw-panel-content dw-flip-content">
    <div class="dw-flip-panel dw-flip-panel-front">
      <h1>You can flip me round</h1>
    </div>
    <div class="dw-flip-panel dw-flip-panel-back">
      <h1>Yeah that's right</h1>
    </div>
  </div>
</div>