Contents below is only using style from lightCSS. So you get the idea of what lightCSS is capable of. I tried to keep things simple, in term of look and usage.
Most of the time you don't need to call any classes.
Lorem ipsum dolor sit amet consectetur adipisicing elit. Atque soluta earum libero harum ullam omnis inventore sunt assumenda expedita Modfaka tempora! Voluptate voluptatem repellendus exercitationem voluptas quae ab facilis, magni culpa?
If you set your goals ridiculously high and it's a failure, you will fail above everyone else's success.- James Cameron
Normal buttons, without any classes.
Primary buttons with .primary-button
class.
To turn an a
element to a buton, use .button
or .primary-button
class.
This is a pre text
Lorem, ipsum dolor sudo rm -rf /
sit amet consectetur adipisicing elit.
Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque aspernatur delectus reprehenderit consequatur distinctio accusamus repellendus ea? Id, enim! Odio neque aliquid quia esse velit optio totam voluptate nobis hic.
Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque aspernatur delectus reprehenderit consequatur distinctio accusamus repellendus ea? Id, enim! Odio neque aliquid quia esse velit optio totam voluptate nobis hic.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Unde molestias, nisi inventore vero aliquid aperiam necessitatibus ipsa ad quidem eaque consequatur ipsam doloribus magnam sed pariatur explicabo voluptatibus voluptates alias.
By default, image and video will take the whole parent's width.
By default, embed and iframe should not grow bigger than parent's width
Table will take full parent's width by default.
ID | Name | Profession |
---|---|---|
1 | Johnny Depp | Actor |
2 | Keanu Reeves | Actor |
3 | Serj Tankian | Singer |
We're going with simple style and just works everywhere. If you want to adjust the size or grid, you can build your own.
.full
to turn anything full 100% width.
.primary-color
to turn element to primary color, work best with texts.
.container
use with a Div, to create big white space on each side, just like this document.
.border
to add border to an element. It has rounded corners by default
.text-left
.text-right
.text-center
to align text.
.background
to add light background color to an element, works best on div.