FANDOM


Css3

Cascading Style Sheets, also known as CSS, is how HTML items are stylized.


Example Edit

CSS

For example, the image above is from the KAOS CSS page. It shows part of how the founder of this wiki, Vanilla Dazzle's username appears within the chat. Her name appears in the hex color #D32F2F which is a shade of red. There is also code to shadow that text in the exact same shade of red.

Usages Edit

CSS button

There are three different ways to use CSS.

  1. In a stylesheet or <style> tag, known as external styling. That usage is what is pictured above.
  2. Inline code, like the following example:
<element style="parameter: value;">TextContent</element>

     3. Applied using JavaScript or jQuery. Here is an example using jQuery.

<element id="el1"></element>
<script type="text/javascript">
$("#el1").css("color", "blue");
</script>

Sites with CSS lessons Edit

Featured users that know CSS Edit

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.