CSS tutorial

about

created by: websitemaking122

introduction

CSS (cascade style sheet) is a computer language for styling webpage

syntax

CSS syntax
selector part 👉 select an element from HTML for styling
property part 👉 the style attribute
value part 👉 the value of specified property

code location

CSS code is between <style> and </style>

background

my style controller 1#

#mybox1 { background-color: blue; }

border

my style controller 2#

#mybox2 { border: 1px solid #000000; }

text

my style controller 3#

#mytext { color: #000000; font-family: arial; }
HTML
CSS
Output