CSS: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{Feature
|explains=CSS
|description=Add custom CSS to pages or sitewide
|notes=Add CSS rules into your pages.
|tests=See 'zebra striping' and colors on the [[Rates]] page.
|examples=the [[Rates]] page uses custom table layout and coloring.  Without the CSS extension, this would be much harder to do.
}}
Cascading Style Sheets is one of the primary technologies used in the web.  CSS provides the style/appearance aspect of your HTML.
Cascading Style Sheets is one of the primary technologies used in the web.  CSS provides the style/appearance aspect of your HTML.


Line 5: Line 12:
https://caniuse.com is the site to go to for browser support (and global usage)
https://caniuse.com is the site to go to for browser support (and global usage)


{{Feature
 
|explains= CSS
|description=Add custom CSS to pages or sitewide
|notes=Add CSS rules into your page with a parser hook: <nowiki>{{#css:rules here}}</nowiki>
|tests=
|examples=the [[Rates]] page uses custom table layout and coloring.  Without the CSS extension, this would be much harder to do.
}}
<br clear="all">
<br clear="all">
== Example: mobile layout with 2 columns ==
== Example: mobile layout with 2 columns ==