├── 01_Lesson (Introduction Tutorial)
├── style.css
└── index.html
├── 08_Lesson (List Styles)
├── images
│ └── checkmark.png
├── two.html
├── one.html
├── style.css
└── index.html
├── Chapter 1
├── ExternalCSS.css
├── CSSRules.html
├── InlineCSS.html
├── ExternalCSS.html
├── InternalOrEmbeddedCSS.html
├── Inheritance.html
├── CSSRulesCascading.html
├── DescendantSelector.html
├── AdjacentSiblingSelector.html
├── UniversalSelector.html
├── TypeSelector.html
├── ChildSelector.html
├── IDSelector.html
├── GeneralSiblingSelector.html
└── ClassSelector.html
├── 03_Lesson (Colors)
├── style.css
└── index.html
├── 09 Lesson (Mini Project)
├── one.html
├── two.html
├── index.html
└── style.css
├── 07_Lesson (Styling Hyperlinks)
├── two.html
├── one.html
├── style.css
└── index.html
├── 02_Lesson (Selectors)
├── style.css
└── index.html
├── 04_Lesson (Units & Sizes)
├── style.css
└── index.html
├── README.md
├── Chapter 2
├── Opacity1.html
├── Colors2.html
├── HSL.html
├── HSLA.html
├── Colors1.html
├── BackgroundColors.html
├── RGBA.html
└── Opacity2.html
├── 14_Lesson (Flexbox)
├── index.html
└── style.css
├── 06_Lesson (Text and Fonts)
├── style.css
└── index.html
├── 05_Lesson (Box Model)
├── style.css
└── index.html
├── 10_Lesson (Display Property)
├── index.html
└── style.css
├── 12_Lesson (Columns)
├── style.css
└── index.html
├── 11_Lesson (Floats & Clears)
├── style.css
└── index.html
├── 15_Lesson (Grid)
├── index.html
└── style.css
└── 13_Lesson (Position Property)
├── index.html
└── style.css
/01_Lesson (Introduction Tutorial)/style.css:
--------------------------------------------------------------------------------
1 | p {
2 | font-size: 64px;
3 | color: purple;
4 | }
5 |
--------------------------------------------------------------------------------
/08_Lesson (List Styles)/images/checkmark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MeesamBukhari/CSS-Practice/HEAD/08_Lesson (List Styles)/images/checkmark.png
--------------------------------------------------------------------------------
/Chapter 1/ExternalCSS.css:
--------------------------------------------------------------------------------
1 | body {
2 | background-color: thistle;
3 | }
4 |
5 | h1 {
6 | color: indigo;
7 | }
8 |
9 | .courses {
10 | color: blueviolet;
11 | }
--------------------------------------------------------------------------------
/03_Lesson (Colors)/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | font-size: 22px;
3 | font-family: Arial, Helvetica, sans-serif;
4 | line-height: 1.5;
5 | background: papayawhip;
6 | color: rgb(0, 0, 0);
7 | }
8 |
9 | p {
10 | color: #333;
11 | }
12 |
--------------------------------------------------------------------------------
/08_Lesson (List Styles)/two.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Page Two
7 |
8 |
9 | Page Two
10 |
11 |
12 |
--------------------------------------------------------------------------------
/09 Lesson (Mini Project)/one.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Page One
7 |
8 |
9 | Page One
10 |
11 |
12 |
--------------------------------------------------------------------------------
/09 Lesson (Mini Project)/two.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Page Two
7 |
8 |
9 | Page Two
10 |
11 |
12 |
--------------------------------------------------------------------------------
/07_Lesson (Styling Hyperlinks)/two.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Page Two
7 |
8 |
9 | Page Two
10 |
11 |
12 |
--------------------------------------------------------------------------------
/08_Lesson (List Styles)/one.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Page One
7 |
8 |
9 |
10 | Page One
11 |
12 |
--------------------------------------------------------------------------------
/07_Lesson (Styling Hyperlinks)/one.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Page One
7 |
8 |
9 |
10 | Page One
11 |
12 |
--------------------------------------------------------------------------------
/02_Lesson (Selectors)/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | font-size: 22px;
3 | }
4 |
5 | main {
6 | font-family: monospace;
7 | }
8 |
9 | h1,
10 | h2 {
11 | color: blue;
12 | }
13 |
14 | .gray {
15 | color: gray;
16 | }
17 |
18 | p {
19 | color: purple;
20 | }
21 |
22 | p {
23 | color: red;
24 | }
25 |
26 | .highlight {
27 | text-transform: uppercase;
28 | background: gold;
29 | }
30 |
--------------------------------------------------------------------------------
/04_Lesson (Units & Sizes)/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | margin: 0;
3 | padding: 0;
4 | box-sizing: border-box;
5 | }
6 |
7 | body {
8 | min-height: 100vh;
9 | }
10 |
11 | h1 {
12 | border: 2px dashed red;
13 | width: 50%;
14 | font-size: 3rem;
15 | padding: 0.5em;
16 | }
17 |
18 | main {
19 | font-size: 2rem;
20 | }
21 |
22 | p {
23 | font-size: 2rem;
24 | width: 40ch;
25 | }
26 |
--------------------------------------------------------------------------------
/01_Lesson (Introduction Tutorial)/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | CSS Introduction Tutorial
7 |
8 |
9 |
10 | I'm learning CSS!
11 |
12 |
13 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CSS-Practice
2 | ## Practice of CSS lectures delivered by Hira Khan from PIAIC
3 | ### YouTube Playlist:
4 | CSS
5 |
6 | ## Practice of CSS lectures delivered by Dave Gray
7 | ### Youtube Playlist:
8 | CSS Tutorials for Beginners
9 |
--------------------------------------------------------------------------------
/Chapter 2/Opacity1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Opacity
7 |
15 |
16 |
17 |
18 | PIAIC
19 |
20 |
21 |
--------------------------------------------------------------------------------
/07_Lesson (Styling Hyperlinks)/style.css:
--------------------------------------------------------------------------------
1 | @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
2 |
3 | body {
4 | padding: 10%;
5 | font-size: 2rem;
6 | font-family: "Roboto", sans-serif;
7 | }
8 |
9 | a {
10 | color: hsl(207, 44%, 49%);
11 | }
12 |
13 | a:visited {
14 | color: purple;
15 | }
16 |
17 | a:hover,
18 | a:focus {
19 | color: hsl(207, 44%, 49%, 0.8);
20 | background-color: gold;
21 | }
22 |
23 | a:active {
24 | color: red;
25 | }
26 |
--------------------------------------------------------------------------------
/Chapter 2/Colors2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Colors
7 |
14 |
15 |
16 |
17 | Hello World
18 |
19 |
20 |
21 | PIAIC
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Chapter 1/CSSRules.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | CSS Rules
5 |
11 |
12 |
13 | Presidential Initiative For Artificial Intelligence & Computing (PIAIC)
14 | Available Programs:
15 | Blockchain
16 | Artificial Intelligence
17 |
18 |
--------------------------------------------------------------------------------
/14_Lesson (Flexbox)/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | CSS Flexbox
7 |
8 |
9 |
10 |
11 | 1
12 | 2
13 | 3
14 | 4
15 | 5
16 | 6
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/06_Lesson (Text and Fonts)/style.css:
--------------------------------------------------------------------------------
1 | /* Typography is the way that text is arranged and presented. */
2 |
3 | body {
4 | padding: 10%;
5 | font-size: 2rem;
6 | font-family: Arial, Helvetica, sans-serif;
7 | }
8 |
9 | /* input,
10 | button {
11 | font: inherit;
12 | } */
13 |
14 | p {
15 | text-indent: 5rem;
16 | line-height: 1.5;
17 | /* text-transform: capitalize; */
18 | /* text-align: justify; */
19 | /* text-decoration: underline; */
20 | /* text-transform: uppercase; */
21 | /* letter-spacing: 0.1em; */
22 | /* word-spacing: 0.5em; */
23 | /* font-weight: 700; */
24 | font-style: italic;
25 | }
26 |
--------------------------------------------------------------------------------
/Chapter 1/InlineCSS.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Inline CSS
7 |
8 |
9 | PIAIC Offers The Following Courses:
10 |
11 |
Artificial Intelligence
12 | Blockchain
13 | Cloud Native Computing
14 | Internet Of Things
15 |
16 |
17 |
--------------------------------------------------------------------------------
/05_Lesson (Box Model)/style.css:
--------------------------------------------------------------------------------
1 | * {
2 | margin: 0;
3 | padding: 0;
4 | box-sizing: border-box;
5 | }
6 |
7 | .container {
8 | border: 10px double red;
9 | font-size: 1.5rem;
10 | margin: 1.5em;
11 | /* margin-top: 1.5em;
12 | margin-right: 2em;
13 | margin-bottom: 2em;
14 | margin-left: 2em; */
15 | padding: 1.5em;
16 | outline: 5px solid purple;
17 | outline-offset: -20px;
18 | }
19 |
20 | .circle {
21 | margin: 3rem auto;
22 | background-color: gold;
23 | width: 100px;
24 | height: 100px;
25 | border: 2px solid #000;
26 | border-radius: 50px;
27 | outline: 2px solid red;
28 | outline-offset: 0.25rem;
29 | }
30 |
--------------------------------------------------------------------------------
/Chapter 2/HSL.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | HSL
7 |
18 |
19 |
20 | HSL Colors
21 |
22 | Hello World
23 |
24 |
25 |
26 | Hello World
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Chapter 1/ExternalCSS.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | External CSS
7 |
8 |
9 |
10 | PIAIC Offers The Following Courses:
11 |
12 |
13 | - Artificial Intelligence
14 | - Blockchain
15 | - Cloud Native Computing
16 | - Internet Of Things
17 |
18 |
19 |
20 |
21 |