0% found this document useful (0 votes)
15 views

CSS Summary Cards

The document contains various CSS styling rules and properties for web design, including font styles, text alignment, padding, margins, and flexbox layout. It provides examples of color codes, border styles, and box-sizing techniques. The document appears to be a reference for creating visually appealing web pages using CSS.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

CSS Summary Cards

The document contains various CSS styling rules and properties for web design, including font styles, text alignment, padding, margins, and flexbox layout. It provides examples of color codes, border styles, and box-sizing techniques. The document appears to be a reference for creating visually appealing web pages using CSS.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

futurefullstack.

com

<h1>

<li>

<img> <li>

<li>

index.html

app.css
futurefullstack.com

font-weight: 700;
text-decoration: underline blue dotted;
100 200 300 400 500 600 700 800 900
none line-through underline overline
named rgb hex
double solid dotted dashed wavy

font-style: italic;
normal italic oblique oblique 10deg

text-transform: uppercase;
font-style: disc;
none uppercase lowercase capitalize
none disc circle square decimal
futurefullstack.com

font-align: center; font-size: 16px;


left right center justify pixels rems

line-height: 1.5;
62px h1
unitless pixels percentages ems
48px h2
40px h3
32px h4

line-height: 8px; 24px h5

pixels percentages ems 20px p

16px a
futurefullstack.com

Text Text Text Text Text

Arctic Moonlight Iris Dawn Pebble


#d0ebff #e5dbff #ffe8cc #f1f3f5

font-family: ‘Tahoma’, sans-serif; Sky Blue Lavender Pumpkin Slate


#339af0 #9775fa #ff922b #495057

Deep Sea Velvet Night Lava Graphite


#1c7ed6 #7048e8 #f76707 #212529

color: #9874F9;
rgb hex rgba hsl
futurefullstack.com

app.css app2.css
futurefullstack.com

a : hover

Class Pseudo-
Selector ID class Type

#heading

.textbox .large

div div .large

div div h1

div p div > p h1 + p h1 ~ p


futurefullstack.com

text-align: center; <div>

<h1> Street art


<p> Bespoke sustainable
<a> meditation

h2 :: first-letter
futurefullstack.com

padding-top: 5px; margin-top: 5px;


padding-right: 10px; margin-right: 10px;
padding-bottom: 5px; margin-bottom: 5px;
padding-left: 10px; margin-left: 10px;

padding: 20px; margin: 20px;


padding: 10px 20px; margin: 10px 20px;
padding: 10px 20px 5px; margin: 10px 20px 5px;
padding: 10px 20px 5px 15px; margin: 10px 20px 5px 15px;
border: 5px solid red;

border-top: 6px solid purple;


width: 500px; height: 100px; border-width: 5px; border-right: 2px dashed blue; border-radius: 12px;
background-color: #339af0; border-style: solid; border-bottom: 1px dotted red;
border-color: red; border-left: 10px solid green;
futurefullstack.com

width: 500px;

box-sizing: content-box;

box-sizing: border-box;
futurefullstack.com

width: 500px; max-width: 500px;

height: 500px; max-height: 500px;


futurefullstack.com
futurefullstack.com

--primary: #339af0;

background-color: var(--primary);
calc((100%/3) - 50px))
futurefullstack.com

display: flex;
flex-direction: row; flex-direction: row-reverse;

flex-direction: column; flex-direction: column-reverse;


futurefullstack.com

justify-content: flex-start; justify-content: space-between; align-items: stretch;

align-items: center;

justify-content: flex-end; justify-content: space-around; align-items: flex-start;

align-items: baseline;

A B C D

justify-content: center; justify-content: space-evenly; align-items: flex-end;


futurefullstack.com

gap: 20px;

margin: 0 auto; justify-content: center;

margin: 200px auto; margin: 200px 0;

align-items: center;
futurefullstack.com

align-self: auto; align-self: flex-end;

flex-grow: 1; flex-grow: 0;

flex-grow: 2; flex-grow: 0;
align-self: stretch; align-self: center;

align-self: flex-start; align-self: baseline;

flex-shrink: 2; flex-shrink: 1;

flex-shrink: 1; order: 0;
flex-shrink: 6;
futurefullstack.com

align-content: stretch; align-content: center;


flex-wrap: wrap;

no wrap wrap wrap-reverse

align-content: flex-start; align-content: space-between;

align-content: flex-end; align-content: space-around;


A blue play button with a white arrow

Description automatically generated

You might also like