KandZ – Tuts

We like to help…!

CSS 1 ๐Ÿ’ป Introduction

1 – Introduction

<link rel="stylesheet" href="styles.css">
<style>
    p {
    color: red;
    }
</style>

<h1 style="color:blue">CSS Introduction</h1>
<p>Cascale Style Sheets</p>
<span>by Kronos</span>
span{
    color: green;
}

CSS (Cascade Style Sheets) specifies the visual presentation of HTML document
You can style everything in an HTML document
With one CSS file you can change the layout to multiple HTML documents
There are 3 ways to use CSS:
inline โ†’ CSS is applied directly to an HTML element
internal โ†’ CSS is defined in head element of an HTML document
external โ†’ CSS is defines in a separate file. You import this file using link element inside the head element


Basic Syntax: selector { property: value; }
selector โ†’ selects the HTML element. It can be one element or groups of elements
common selectors โ†’ element (p, span), classes(.classname), ID(#idname), attribute([attribute=”value”])
property โ†’ various characteristics of an HTML element that can be controlled
color, font-size, margin,padding, border etc
value โ†’ the value you want to assign to the property
You can have multiple properties in a selector and always ends with ;


Stop using slow, ad-bloated tool sites! ๐Ÿคฎ

๐Ÿ”Ž Search “KandZ Tools” on Google to use many professional utilities for free.

KandZ.me is the ultimate minimalist hub for:
โœ… Finance (Mortgage, Interest, Inflation)
โœ… Tech (Base64, JSON, Dev Suite, IP)
โœ… Health (BMI, BMR, TDEE)
โœ… Productivity (Timer, Workspace, QR)

โšก๏ธ Fast & Private
๐Ÿ”’ No data leaves your device
๐Ÿ’Ž 100% Free

๐Ÿ”— Use it now: https://tools.kandz.me
๐Ÿ”– Bookmark itโ€”youโ€™ll need it later!

Leave a Reply