项目作者: soggybag

项目描述 :
Light weight CSS framework
高级语言: HTML
项目地址: git://github.com/soggybag/frmwrk-css.git
创建时间: 2019-07-29T20:45:37Z
项目社区:https://github.com/soggybag/frmwrk-css

开源协议:MIT License

下载


frmwrk css

Light weight CSS framework. This is currently a work in progress. You can browse the supported styles here.

Getting Started

Download:

  • frmwrk.css
  • frmwrk-theme.css

    Then add the following to the head of your HTML document.

    1. <head>
    2. ...
    3. <link rel="stylesheet" href="frmwrk-theme.css">
    4. <link rel="stylesheet" href="frmwrk.css">
    5. ...
    6. <head>

Get the files from github.io

https://soggybag.github.io/frmwrk-css/frmwrk.css

Layout

Frmwrk doesn’t provide any layout or grid system. These tasks are best handeled with CSS Grid.

Navbar

Navbars can be created easily by creating a parent element with the class name navbar.

  1. html<div class="navbar">
  2. <ul>
  3. <li><h1 class="title">TITLE</h1></li>
  4. <li><a href="#">Link 1</a></li>
  5. <li><a href="#">Link 2</a></li>
  6. <li><a href="#">Link 3</a></li>
  7. <li><a href="#">Link 4</a></li>
  8. </ul>
  9. </div>

A list of links will lay itself out automatically.

Footers

You can easily create a footer using the class name page-footer.

  1. <div class="page-footer">
  2. <ul>
  3. <li><h3>Column 1</h3></li>
  4. <li><a>Item 1</a></li>
  5. <li><a>Item 2</a></li>
  6. <li><a>Item 3</a></li>
  7. </ul>
  8. <ul>
  9. <li><h3>Column 2</h3></li>
  10. <li><a>Item 1</a></li>
  11. <li><a>Item 2</a></li>
  12. <li><a>Item 3</a></li>
  13. </ul>
  14. <ul>
  15. <li><h3>Column 3</h3></li>
  16. <li><a>Item 1</a></li>
  17. <li><a>Item 2</a></li>
  18. <li><a>Item 3</a></li>
  19. </ul>
  20. </div>

Child elements in the footer will automatically layout with Flex box centered.

Todo:

Coming soon web components!