Oreilly - CSS - The Complete Guide (incl. Flexbox, Grid and Sass)
by Maximilian Schwarzmüller, Manuel Lorenz | Publisher: Packt Publishing | Release Date: November 2018 | ISBN: 9781789954692
Learn CSS for the first time or brush up your CSS skills and dive in even deeperAbout This VideoBuild beautiful websites that don't just contain great content but also look goodUse basic and advanced CSS featuresUnderstand the concepts and theory behind CSS and certain CSS featuresIn DetailEvery web developer has to know CSS. CSS, short for Cascading Style Sheets, is a "programming language" you use to turn your raw HTML pages into a really beautiful website. This course covers it all. We start at the very basics and gradually dive in deeper and deeper. We do this by showing you both practical examples and the theory behind them.Getting started with CSS might look easy, but there actually is a lot of depth to CSS, so this course provides different "Tracks" or "Entry points" to exactly meet your demands and reflect your current knowledge level:The Basics Track: Start from scratch and learn CSS from the ground up. You start with lecture 1 and simply follow through to the end.The Advanced Track: You already know the CSS basics, you know what selectors are and how it works, but you want to dive in deeper and learn some advanced features and usages.The Expert Track: You got the advanced knowledge, too, but you want to dive into things like Flexbox, CSS Grid, CSS Variables, or Sass. This track is for you.In the course project, we'll build the front end (no back end) of a fictional web hosting company. We'll have a starting screen with different sections, a responsive design with an animated side-drawer, modals and forms, and lot of CSS animations, font styles, and more!All the code and supporting files for this course are available at:https://github.com/PacktPublishing/CSS---The-Complete-Guide-incl.-Flexbox-Grid-and-Sass-/tree/master
- Chapter 1 : Getting Started
- Introduction 00:01:31
- What is CSS? 00:03:00
- CSS History, Present & Future 00:01:51
- Course Outline 00:04:35
- Course Prerequisites 00:00:43
- How To Get The Most Out Of This Course 00:01:48
- Recommended Tools 00:01:27
- Chapter 2 : Diving Into the Basics of CSS
- Module Introduction 00:00:56
- Understanding the Course Project Setup 00:02:45
- Adding CSS to our Project with Inline Styles 00:03:53
- Understanding the <style> Tag & Creating a .css File 00:06:27
- Applying Additional Styles & Importing Google Fonts 00:06:52
- Theory Time – Selectors 00:08:57
- Understanding the "Cascading" Style & Specificity 00:08:15
- Understanding Inheritance 00:05:48
- Adding Combinators 00:06:16
- Theory Time – Combinators 00:05:42
- Summarizing Properties & Selectors 00:03:50
- Wrap Up 00:02:02
- Chapter 3 : Diving Deeper into CSS
- Module Introduction 00:01:20
- Introducing the CSS Box Model 00:03:36
- Understanding the Box Model 00:03:02
- Understanding Margin Collapsing and Removing Default Margins 00:03:06
- Theory Time - Working with Shorthand Properties 00:03:49
- Applying Shorthands in Practice 00:02:05
- Diving Into the Height & Width Properties 00:06:08
- Understanding Box Sizing 00:06:43
- Adding the Header to our Project 00:05:38
- Understanding the Display Property 00:07:13
- Applying the Display Property & Styling our Navigation Bar 00:06:54
- Understanding an Unexpected "inline-block" Behaviour 00:02:04
- Working with "text-decoration" & "vertical-align" 00:04:55
- Styling Anchor Tags 00:04:00
- Adding Pseudo Classes 00:01:48
- Theory Time - Pseudo Classes & Pseudo Elements 00:05:38
- Grouping Rules 00:01:15
- Working with "font-weight" & "border" 00:02:04
- Adding & Styling a CTA-Button 00:04:10
- Adding a Background Image to our Project 00:01:50
- Properties Worth to Remember 00:01:29
- Wrap Up 00:02:32
- Chapter 4 : More on Selectors & CSS Features
- Module Introduction 00:00:42
- Using Multiple CSS Classes & Combined Selectors 00:07:10
- Classes or IDs? 00:04:06
- (Not) using! Important 00:03:15
- Selecting the Opposite with: not() 00:03:30
- CSS & Browser Support 00:03:51
- Wrap Up 00:01:06
- Chapter 5 : Practicing the Basics
- Module Introduction 00:00:38
- Adding Style to our Plans 00:08:35
- Working on the Recommended Plan 00:06:34
- Styling the Badge with "border-radius" 00:03:22
- Styling our List 00:03:03
- Working on the Title and the Price of our Packages 00:04:34
- Improving our Action Button 00:06:40
- Understanding Outlines 00:02:17
- Presenting the Core Features to the User 00:01:22
- Styling the Headline of the Core Features Section 00:03:39
- Preparing the Content of the Key Feature Area 00:07:16
- Adding the Footer 00:06:50
- What we achieved so Far 00:01:46
- Adding the Packages Page 00:06:25
- Your Challenge 00:01:32
- Styling the Links 00:03:55
- Styling our Package Boxes 00:07:15
- Adding "float" to our Package 00:05:15
- Fixing the Hover Effect 00:04:11
- Adding the Final Touches 00:03:02
- Chapter 6 : Positioning Elements with CSS
- Module Introduction 00:02:45
- Why Positioning will improve our Website 00:02:33
- Understanding Positioning - The Theory 00:05:55
- Working with the "fixed" Value 00:09:51
- Creating a Fixed Navigation Bar 00:03:54
- Using "position" to Add a Background Image 00:06:03
- Understanding the Z-Index 00:07:00
- Adding a Badge to our Package 00:08:01
- Styling & Positioning our Badge with "absolute" and "relative" 00:03:10
- Diving Deeper into Relative Positioning 00:04:03
- Working with "overflow" and Relative Positioning 00:04:18
- Introducing "sticky" Positioning 00:06:53
- Understanding the Stacking Context 00:05:53
- Wrap Up 00:04:12
- Chapter 7 : Understanding Background Images & Images
- Optional: Advanced Track Introduction 00:02:22
- Module Introduction 00:01:06
- Understanding "background-size" 00:08:41
- Working with "background-position" 00:05:00
- The "background" Shorthand – Theory 00:02:12
- Applying "background" Origin, Clip & Attachment 00:05:52
- Using the "background" Shorthand on our Project 00:02:19
- Styling Images 00:07:33
- Adding the Customers Page to our Website 00:03:19
- Working on the Image Layout 00:08:08
- Understanding Linear Gradients 00:06:17
- Applying Radial Gradients 00:05:41
- Stacking Multiple Backgrounds 00:04:51
- Understanding Filters 00:04:01
- Adding & Styling SVGs - The Basics 00:04:20
- Wrap Up 00:02:15
- Chapter 8 : Sizes & Units
- Module Introduction 00:02:36
- What's Wrong With Our Project Units? 00:05:22
- Where Units Matter 00:06:03
- An Overview of Available Sizes & Units 00:04:25
- Rules to Remember: Fixed Positioning & "%" 00:04:15
- Rules to Remember: Absolute Positioning & "%" 00:08:14
- Rules to Remember: Relative / Static Positioning & "%" 00:08:53
- Fixing the Height 100% Issue 00:12:02
- Defining the Font Size in the Root Element 00:02:19
- Using "min-width/height" & "max-width/height" 00:05:28
- Working with "rem" & "em" 00:12:47
- Adding "rem" to Additional Properties 00:08:17
- Finishing "rem" 00:05:21
- Understanding the Viewport Units "vw" &"vh" 00:09:48
- Choosing the Right Unit 00:05:30
- Using "auto" to Center Elements 00:01:43
- Cleaning Up our Code 00:01:06
- Wrap Up 00:04:24
- Chapter 9 : Working with JavaScript & CSS
- Module Introduction 00:01:16
- Adding a Modal 00:04:14
- Selecting & Manipulating Styles with JavaScript 00:10:34
- Adding an Event Listener 00:06:05
- Adding a Side Navigation Bar 00:07:14
- Opening and Closing the Hamburger Menu 00:03:57
- Manipulating Element Classes 00:06:40
- Understanding Property Notations 00:03:13
- Cleaning Up our Code 00:05:31
- Wrap Up 00:01:15
- Chapter 10 : Making our Website Responsive
- Module Introduction 00:01:45
- Why our Project Should Become Responsive 00:02:26
- Understanding Hardware Pixels vs. Software Pixels 00:10:29
- Comparing the Viewport Metatag (HTML) and Media Queries (CSS) 00:03:05
- Understanding the "viewport" Metatag 00:07:23
- Designing Websites "Mobile First" 00:01:55
- Adding our First Media Queries 00:12:52
- Things to Keep in Mind when Working with Media Queries 00:08:10
- Finding the Right Breaking Points 00:03:45
- Creating the Mobile First Design for our Plans 00:06:38
- Making the Plans Responsive 00:08:36
- Your Challenge 00:06:06
- Working with Logical Operators 00:08:14
- Improving the Customers Page 00:14:58
- Improving the Packages Page 00:05:41
- Cleaning Up the Navigation Bar 00:04:39
- Positioning our Footer Correctly 00:10:10
- Wrap Up 00:02:15
- Chapter 11 : Adding & Styling Forms
- Module Introduction 00:01:32
- Adding the Unstyled Form 00:02:37
- Page Initialization 00:06:35
- Understanding Advanced Attribute Selectors 00:06:03
- Working on the General Layout 00:07:16
- Restyling the Form Elements 00:06:30
- Styling the Checkbox 00:06:53
- Providing Validation Feedback 00:08:50
- Styling the Signup Button 00:03:42
- Wrap Up 00:01:30
- Chapter 12 : Working with Text and Fonts
- Module Introduction 00:01:20
- Comparing Generic Families & Font Families 00:02:57
- Understanding the Browser Settings 00:06:18
- Using the Default Font Families 00:06:54
- Understanding the "font-family" Syntax 00:06:19
- Working with Locally Saved Fonts 00:03:51
- Working with Google Fonts 00:10:29
- Understanding Font Faces & "font-style" 00:06:50
- Importing our Custom Fonts 00:09:04
- Understanding Font Formats 00:05:41
- Diving into Font Properties 00:03:10
- Adding "letter-spacing" 00:04:43
- Changing the Line Height 00:06:08
- Applying "text-decoration" & "text-shadow" 00:05:52
- Understanding the "font" Shorthand 00:08:40
- Loading Performance & "font-display" 00:09:49
- Wrap Up 00:03:48
- Chapter 13 : Adding Flexbox to our Project
- Optional: Expert Track Introduction 00:03:24
- Module Introduction 00:01:32
- How we Could Improve our Project 00:02:58
- Understanding Flexbox 00:03:18
- Creating a Flex Container 00:05:34
- Using "flex-direction" & "flex-wrap" 00:05:36
- Understanding the Importance of Main Axis & Cross Axis 00:07:28
- Working with "align-items" & "justify-content" 00:10:59
- And What About "align-content"? 00:02:41
- Improving the Navigation Bar with Flexbox 00:12:03
- Your Challenge - Working on the Mobile Navigation Bar 00:04:17
- Improving the Footer 00:05:36
- Adding Flexbox to the Customers Page 00:03:16
- Using the "order" Property for a Flex Item 00:06:08
- Working with "align-self" 00:02:45
- Understanding "flex-grow" 00:07:35
- Applying "flex-shrink" 00:03:12
- Comparing "flex-basis" vs "width" & "height" 00:08:36
- Wrap Up 00:03:53
- Chapter 14 : Using the CSS Grid
- Module Introduction 00:01:14
- What is the CSS Grid? 00:01:28
- Getting Started 00:02:23
- Turning a Container into a Grid 00:03:22
- Defining Columns & Rows 00:05:50
- Positioning Child Elements in a Grid 00:04:13
- Using "element-sizing", "repeat" & "minmax" 00:06:45
- Advanced Element Positioning 00:06:30
- Working with Named Lines 00:03:54
- Understanding Column & Row Shorthands 00:02:55
- Working with Gaps 00:02:33
- Adding Named Template Areas 00:06:40
- Creating Automatically Generated Grid Areas 00:07:11
- Using the Grid on our Project 00:09:11
- Working with "fit-content" 00:03:31
- Positioning Grid Elements 00:03:36
- Positioning the Entire Grid Content 00:03:17
- Positioning Elements Individually 00:01:35
- Understanding Responsive Grids 00:05:30
- Applying Autoflow 00:06:40
- Comparing the Explicit & Implicit Grid 00:02:31
- Understanding "auto-fill" & "auto-fit" 00:03:33
- Creating a Dense Grid 00:03:23
- Styling the Project Form with Grid 00:09:46
- Comparing Grid & Flexbox 00:02:28
- Next Steps 00:01:31
- Wrap Up 00:03:49
- Chapter 15 : Transforming Elements with CSS Transforms
- Module Introduction 00:00:31
- Rotating Elements and setting transform-origin 00:03:46
- Using Rotate and Translate 00:04:58
- Working with "skew" and "scale" 00:06:18
- Applying Transformation Shorthands 00:02:24
- Rotating Elements in 3 Dimensions 00:04:19
- Understanding the "perspective" Property 00:03:38
- Moving Elements along the Z-Axis with "translateZ" 00:03:54
- Rotating the Container with "transform style" 00:03:44
- Flipping Elements & "backface-visibility" 00:01:16
- Wrap Up 00:01:15
- Chapter 16 : Transitions & Animations in CSS
- Module Introduction 00:00:22
- Understanding and Applying Transitions 00:07:23
- Working with Timing Functions 00:02:50
- Transitions & "display" 00:06:12
- Using CSS Animations 00:09:01
- Adding Multiple Keyframes 00:03:22
- Adding Animations to our Customers Page 00:03:59
- Using JavaScript Animation Event Listeners 00:03:25
- Wrap Up 00:01:35
- Chapter 17 : Writing Future-Proof CSS Code
- Module Introduction 00:00:35
- CSS Modules & Their Working Groups 00:01:55
- Using CSS Variables 00:07:32
- Understanding & Using Vendor Prefixes 00:04:48
- Which Prefixes Should You Use? 00:02:58
- Detecting Browser Support with @supports 00:05:10
- Polyfills 00:02:46
- Eliminating Cross-Browser Inconsistencies 00:02:59
- How to Name CSS Classes 00:04:53
- Vanilla CSS vs Frameworks 00:08:37
- Wrap Up 00:04:16
- Chapter 18 : Introducing Sass (Syntactically Awesome Style Sheets)
- Module Introduction 00:00:43
- What is Sass & Scss? 00:03:31
- Installing Sass 00:04:25
- Things to be improved with Sass 00:01:33
- Nesting Selectors 00:06:35
- Adding Nested Properties 00:01:28
- Understanding Variables 00:03:06
- Storing Lists & Maps in Variables 00:05:59
- Built-In Functions 00:03:19
- Adding Simple Arithmetics 00:02:25
- Adding Better Import and Partials 00:04:46
- Improving Media Queries 00:02:24
- Understanding Inheritance 00:03:33
- Adding Mixins 00:06:45
- Using the Ampersand Operator 00:02:57
- Wrap Up 00:01:14
- Chapter 19 : Course Roundup