ZoaUI focuses on responsive design, aims at maintainable and modular CSS, and follows BEM conventions in its classnames.
Note: It is intended that ZoaUI does not “correct” the variation of box-sizing
between different elements.
<!DOCTYPE html> <html> <head> <title><!-- Title goes here --></title> <!-- Viewport meta tags are important --> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="/css/zoaui.css" /> <!-- Now customize it! --> <link rel="stylesheet" href="/css/YourOwnCSSFile.css" /> </head> <body> <!-- Content goes here --> <script src="/js/jquery.js"></script> <!-- ZoaUI relies on jQuery --> <script src="/js/zoaui.js"></script> <!-- Now include your own scripts --> <script src="/js/YourOwnScriptFile.js"></script> </body> </html>
We recommend that you use the build version, which includes all the CSS files and is minified. However if you want to build on your own, the requirements in the order of file inclusion are:
An example import order goes here:
@import url("../fonts.css"); @import url("../general.css"); @import url("../layout.css"); @import url("../typography.css"); @import url("../button.css"); @import url("../nav.css"); /* form.css comes after button.css */ @import url("../form.css"); @import url("../dialog.css"); @import url("../dropdown.css"); @import url("../triangle.css"); @import url("../pagination.css"); @import url("../image.css"); /* helper.css comes last */ @import url("../helper.css");