Cactu has been created to make webs easily, fast, and with the minimal styles to be customized and to be able to scale it up what you want.
To begin quickly using Cactu, you need to download the compiled CSS file of our git repository, but with that, you don’t have the opportunity to customize any element or component, unless you rewrite the styles that you need.
Using a package manager or need to download the source files? Head to the downloads page.
Minimal HTML5 standards that you need to begin using Cactu. Your pages should look like this:
That’s all you need for overall page requirements. Head to the layout documentation to start laying out your site’s content and components.
Cactu needs some important global styles and configurations that you should take into account when using it, some of them are:
- HTML5 doctype
- Responsive meta tag
- Box sizing
requires the use of the HTML5 doctype. Without it, you’ll see some incomplete styling
Responsive meta tag
Cactu is developed mobile first, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, add the responsive viewport meta tag to your
For more straightforward sizing in CSS, we use the global
box-sizing with value
border-box. This ensures
padding does not affect the final computed width of an element, but it can cause problems with some third party software like Google Maps and Google Custom Search Engine.
For improved cross-browser rendering, we use mostly Bootstap’s reboot to correct inconsistencies across browsers and devices while providing slightly more opinionated resets to common HTML elements.