├── README.md └── _examples-css3-fundamentals ├── 2. Introducing CSS └── 02.01.css.intro.html ├── 3. CSS Basics ├── 03.01.default.browser.styles.html ├── 03.02.syntax.html ├── 03.04.selector.element.tag.type.html ├── 03.05.selector.class.html ├── 03.06.selector.id.html ├── 03.07.selector.universal.html ├── 03.08.selector.group.grouping.html ├── 03.09.selector.conditional.descendent.html ├── 03.10.1.selector.pseudo.class.html ├── 03.11.1.external.stylesheets.html ├── 03.11.2.internal.stylesheets.html ├── 03.11.3.inline.stylesheets.html ├── 03.12.4.1.cascade.important.html ├── 03.12.4.2.cascade.specificity.html └── 03.12.4.3.cascade.inheritance.html ├── 5. Common CSS Concepts ├── 05.1.font.html ├── 05.10.1.position.relative.html ├── 05.10.2.position.absolute.html ├── 05.10.3.position.absolute.relative.html ├── 05.10.4.position.fixed.html ├── 05.11.1.float.basics.html ├── 05.12.1a.html.table.layout.html │ ├── 05.12.1.html.table.layout.html │ ├── about.html │ ├── contact.html │ ├── products.html │ └── services.html ├── 05.12.1b.css.table.layout.html │ ├── 05.12.2.css.table.layout.html │ ├── about.html │ ├── contact.html │ ├── products.html │ ├── services.html │ └── style.css ├── 05.12.2.css.div.layout.html │ ├── 05.12.2.css.div.layout.html │ ├── about.html │ ├── contact.html │ ├── products.html │ ├── services.html │ └── style.css ├── 05.12.3.semantic.tag.layout.html │ ├── 05.12.3.semantic.tag.layout.html │ ├── about.html │ ├── contact.html │ ├── products.html │ ├── services.html │ └── style.css ├── 05.15.1.vendor.prefixes.html ├── 05.16.reset.css.html ├── 05.2.text.html ├── 05.3.color.html ├── 05.4.units.html ├── 05.5.background.html ├── 05.6.box.model.html ├── 05.7.margin.html ├── 05.8.padding.html └── 05.9.border.html └── assets ├── images ├── box-model.png ├── browers_all_2.png ├── css-selector.png └── css3.png └── styles └── 03.11.1.style.css /README.md: -------------------------------------------------------------------------------- 1 |

2 | CSS3 cading Style Sheets logo 3 |

4 | 5 | CSS3 Fundamentals 6 | ===================== 7 | 8 | CSS stands for Cascading Style Sheets through which we add styles, colors, layouts, design, and look-feel appearance to the web page. 9 | 10 | CSS is a stylesheet language that allows you to control the appearance of your web pages. This hands-on course will demonstrate the concepts that form the foundation of CSS, creating a CSS file, writing basic CSS selectors, setting up various CSS properties, and explains how to use this stylesheet language to add colors and other design elements to take your web pages beyond standard black & white text/background. Will learn guidelines for page layouts with floats, Setting a font family, font size, text color, how the box model defines the spacing and sizing of page elements, styling text, and managing basic layouts. It Will also explores the tools needed to work with CSS, how to use selectors to target elements, and more. 11 | 12 | ### Prerequisites for current course / What you need to know 13 | To move forward with CSS you must need basic knowledge of XHTML/HTML/HTML5. It's an added advantage if you know basic concepts like Web, Internet, Web Page, URL, images, Web Design with XHTML/HTML/HTML5 etc. Its advisable to view [Web Design Development Foundations-Web Technology Fundamentals](https://github.com/dinanathsj29/web-design-development-fundamentals) and [HTML5 Essentials](https://github.com/dinanathsj29/html5-essentials) before jumping into CSS3 fundamentals. 14 | 15 | Topics include 16 | ===================== 17 | 18 | 1. [Course introduction](#section-1-course-introduction) 19 | 2. [Introducing CSS](#section-2-introducing-css) 20 | 3. [CSS basics](#section-3-css-basics) 21 | 4. [CSS specifications](#section-4-css-specifications) 22 | 5. [Common CSS concepts](#section-5-common-css-concepts) 23 | 6. [CSS resources](#section-6-css-resources) 24 | 7. [What's the next Step?](#section-7-whats-the-next-step) 25 | 26 | Section 1. Course introduction 27 | ===================== 28 | 29 | ### 1.1. Welcome 30 | Hi All, I'm **`Dinanath Jayaswal, Senior UI/Web Developer and Adobe Certified Expert Professional`**, I wanna welcome you to CSS3 Fundamentals. This course is designed to introduce you to basic CSS concepts, terminology, and tools. It's perfect for any new web designer/developer looking for a good starting point with CSS. We Will start by exploring the basics of CSS, what CSS is?, syntax, how CSS works, use CSS to create websites, using CSS on a wide variety of platforms. I will start by giving an overview of CSS, CSS features, browser support, followed by formatting text, layouts, images, box model, positioning, CSS online tools, and resources. 31 | 32 | Section 2. Introducing CSS 33 | ===================== 34 | 35 | ### 2.1. Importance 36 | 37 | ### 3 pillars / core Languages/Technologies used for Front End Web Design/Development: 38 | 39 | 1. **HTML (HyperText Markup Language)** - Markup language, essential page structure/content, readable and convey structure to the user, text layout model, page mark-up, text, tags, data, details for pages, images, tables, anchor links, forms 40 | - HTML is an acronym that stands for `HyperText Markup Language` which is used for creating `web pages and web applications 41 | - HTML is not a programming language; it is a markup language that defines the structure of your content ie. document 42 | 43 | 2. **`CSS (Cascading Style Sheet) - Style Sheet language, page design / presentation / layouts / styling / formattings, look and feel, creative part of web pages`** 44 | - CSS is a stylesheet language that allows you to control the appearance (look and feel) of your webpages 45 | 46 | 3. **JavaScript (JS)** - Scripting language, dynamic page behavior, logics, conditions and validations, events (mouse click, hover), interactivity with the user/events, dynamic updates in a web page 47 | - JavaScript is a `scripting language of the web that allows you to do interactivity with the user, implement conditions and validations, dynamic updates in a web page, etc. 48 | 49 | > **Syntax & Example**: 50 | ```html 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 02.01.css.intro.html 60 | 61 | 62 | 71 | 72 | 73 | 74 | 75 | 76 |

02.01.css.intro.html

77 | 78 | 79 |

>Getting Started with CSS 80 | 81 |

In this tutorial you'll learn how easy it is to add style and formatting information to the web pages using CSS. But, before we begin, make sure that you have some working knowledge of HTML.

82 | If you're just starting in the world of web development, start learning from here

83 | Well, let's get started with the most popular style sheet language.

84 | 85 | 86 | 87 | 88 | ``` 89 | 90 | ### 2.2. What is CSS? 91 | - CSS stands for `Cascading Style Sheets` 92 | - CSS is `presentational, styling, formatting language` developed to `control look and feel` of HTML documents 93 | - CSS is the Stylesheet language/technology developed to create Page Designs / Layouts / Styling / Formattings, look and feel of web pages 94 | - CSS is the `key presentational technology` that is used in website design 95 | - Cascading refers to the way that CSS apply one style on top of another 96 | - HTML controls the structure of web page, `CSS controls the presentation/styles/design` 97 | - Stylesheets are a collection of formatting/styling/presentation rules 98 | 99 | > **Example**: HTML is like a new Raw concrete Building structure, CSS is like skin (outside of the building looks) 100 | 101 | ### 2.3. Why use CSS? (Benefits of CSS) 102 | - Separate styles/presentation rules from content (separation of concern) 103 | - CSS provides better & high-end controls over the look and feel 104 | - With CSS Designer/Developers gain lots of flexibility & consistency over styling 105 | - Highly modularise web design with external independent .css files 106 | - CSS is significant as it applies one style to many elements/tags 107 | - Apply one style to many styles 108 | - Apply a set of styles to many documents of an application 109 | - Target different media like Screen, Print, Mobile device 110 | 111 | ### 2.4 Advantages of CSS 112 | One of the biggest advantages of using CSS is that it allows the separation of style and layout from the content of the document. Let us have a look at some more advantages of using CSS: 113 | - Easy maintenance (separate .css file) 114 | - CSS save lots of time on styling multiple pages/application(re-usability) 115 | - Pages load faster (separation of concern) 116 | - Superior styles to HTML (Provide more attributes) 117 | - Multiple device compatibility (manage/handle devices with different resolution) 118 | - Global web standards 119 | 120 | ### 2.5. Prerequisites of using CSS (Cascading Style Sheets) 121 | #### Tools for building web sites-web pages/writing HTML & CSS 122 | 123 | 1. **Text Editor/HTML Editor** - `NotePad, NotePad++, SublimeText, Atom, Brackets, Coda, Visual Studio Code, DreamWeaver` etc. 124 | - A CSS file (.css) is a text file itself consists of CSS style & properties, so to create/modify a CSS file we can use any text editor. 125 | 2. **Browsers To view output of .html pages with .CSS styles** - `Google Chrome, Mozilla Firefox, Internet Explorer, Safari` etc. 126 | - Once the .html/.htm file is created and saved, we can create a .CSS file and link within HTML and then we can see its output in any latest web browser. 127 | 128 |

129 |

130 |     all browsers 131 |
    Image - Widely used modern browsers
132 |
133 |

134 | 135 | Section 3. CSS basics 136 | ===================== 137 | 138 | ### 3.1. Default Browser styles 139 | - Open any HTML page (Unstyled / No CSS used) in browser, have a look on content styles 140 | > **Note**: Saying Unstyled is not accurate as every browser apply own default style set to visual CSS rules `user agent stylesheet` on every elements like `

to

,