FANDOM


.RoadWork { border: 3px solid yellow; background-color: #ffd; margin: 0 5em; padding: 0 .5em; }

Development
Construction Work Ahead!
A work in progress is being carried out on this page by Drew1200, and may undergo critical changes while this message remains in place. As a courtesy, please contact the user before making edits on this page.

If this template has been on the page for over one week, it may be removed.

CSS at rules are a special type of code that are compatible with CSS. They have existed since the first version of CSS, and more have been added since then. At rules are typically used to add certain functions to the CSS code, such as importing another stylesheet, or to not run certain code depending on the browser's support. Below is a list of all rules.

@importEdit

@import can be used to import an external stylesheet directly from the CSS document. @import must be used before any other styles, or else it will be ignored. Here is the syntax for the rule.

@import url("/css/main.css");
@import "local.css";

The first line is importing a file by it's URL. This can be used to import any stylesheet, both local and external. The second line is just referring to a local file that is in the same directory as it is.

@charsetEdit

@charset can be used to specify the encoding used for a stylesheet. This rule must also be the first thing in a CSS document, or else it will be ignored. @charset is very rarely used.

@charset "ISO-8859-15";

The syntax simply puts the encoding in between two quotes, and ends it with a semi-colon.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.