Please enable JavaScript.
Coggle requires JavaScript to display documents.
CSS (Tags (Span {} : when write <span></span>, changes color…
CSS
Tags
Span {} : when write <span></span>, changes color to what you set
-
p { Background-color: color name;} : changes colour of the paragraph, like a highlighter
nav ul li : elements with spaces between indicate them being inside (list inside unordered list inside the navbar)
-
style=”color/background-color: rgb (no., no., no.)” : changes colour of text/background with RGB
rgba(no, no, no, no); : sets colour and the transparency (a value, 0 to 1)
-
What is CSS?
cascading style sheets, allow a certain style to be set for any web page it’s linked to.
Style sheet vs Inline style: style sheets are easier to use, as they set the style you’ve programmed to every page it’s linked to, rather than having to type it up constantly inside each tag.
-
line-height: ; : changes how much space is between lines (don’t add px bc it makes it small, usually 1.2 - 1.4)
-