Even if the name is confusing Bacon.CSS is actually written in JavaScript, meant to be used as any other client-side JS library.
Bacon allows developers to write simplified CSS code, and have it compiled into standards-compliant CSS code at runtime.
This means something like
<bacon>
$back: white
$text: #7f8590
$font_body: 14px/18px normal Helvetica Neue, Helvetica, Arial, Sans-Serif
body
background: $back
color: $text
font: $font_body
a
color: $text
text-decoration: !!
</bacon>
,will be compiled into:
<style>
body {
background: white;
color: #7f8590;
font: 14px/18px normal Helvetica Neue, Helvetica, Arial, Sans-Serif;
}
a {
color: #7f8590;
text-decoration: none;
}
</style>
Bacon.CSS can be used as a stand-alone, or together with jQuery.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |