divclass

(name subject to change cause it sucks)

divclass

an HTML preprocessor for custom css-based elements

Usage

When using a CSS framework that revolves around applying classes, your markup often becomes overwhlemed with divs. Why isn't there a tool for writing a little less? I bring you Divclass! (working name)

It lets you write this sort of thing in your markup:

<card>
  <card-header>Some card title</card-header>
  <card-body>
    Some example text
  </card-body>
</card>

and transform it into this:

<div class="card">
  <div class="card-header">Some card title</div>
  <div class="card-body">
    Some example text
  </div>
</div>

Contributing

  1. Fork it ( https://github.com/willamin/divclass/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • willamin Will Lewis - creator, maintainer
Repository

divclass

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 2
  • almost 6 years ago
  • November 24, 2018
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 19:36:51 GMT

Languages