HTML5 doctype
Romo requires the use of the HTML5 doctype. Include it at the beginning of all your projects:
<!DOCTYPE html> <html lang="en"> ... </html>
Reset with Normalize
Romo uses Normalize.css to reset the CSS. From their website:
Normalize.css makes browsers render all elements more consistently and in line with modern standards. It precisely targets only the styles that need normalizing.
* { Box-sizing: Border-box } FTW
Romo uses border-box on all elements:
/* apply a natural box layout model to all elements */ *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
Other Settings
- Remove
margin
on the body - Set
background-color: white;
on the body - Set
$baseFontFamily
,$baseFontSize
and$baseLineHeight
as our typographical base - Set the global link color with
$linkColor
and$linkColorHover
and only apply link underlines on:hover
- Remove any link color and styling by adding the
romo-text
class to any link - Add a pointer cursor to any element by adding the
romo-pointer
class