CSS for beginners 02: CSS syntax structure

Published: 19 July 2021
on channel: Masterminds Tutorials
102
9

Hi there and welcome! 😊 In this video, we will explain to you how CSS syntax structure looks like.

In general CSS syntax structure contains:
1. CSS selector - with CSS selector we can select HTML element on which we want to apply our CSS styles ( for example like CSS selector we can have span, which means that we want to apply our styles on every span element in our web page/ HTML document )
2. Declaration block - complete block of code that starts with start curly brace { and that ends up with end curly brace } is known as declaration block. Inside of declaration block we place all CSS styles that we want to define for given selector.
NOTE: By the rule, declaration block needs to have at least one CSS property.
3. CSS property - represents style attribute that points on what style we want to apply on selected HTML element ( for example like CSS property we can have background-color which means that we want to apply some specific background color on selected element )
NOTE: CSS property is always inside of declaration block
List of all available CSS properties can be find here
➡️https://www.w3schools.com/cssref/
4. Property value - represents value that we want to set for CSS property ( for example if we have background-color like CSS property, like property value we can set some color yellow, red, blue etc. )

💻 If you want to learn how to build websites from the scratch check out our course that is currently on amazing discount :
👉https://www.udemy.com/course/draft/34...

NOTE: Buying of our course you support our channel and we are immensely grateful to you for that! ❤️🙏

📺 For the most recent updates please subscribe on our YouTube channel:
   / @mastermindstutorials7630  

🔔 Hit the notification bell to be notified when videos go live.

👤 You can reach us on social media:
https://www.instagram.com/masterminds...
  / mastermindstut1  

🤝If you want to support our work:
https://www.paypal.com/paypalme/Maste...
  / mastermindstutorials  
Please remember that even little from you means a lot for us. ❤️🙏

❓ Do you have any questions? Feel free to ask us directly on email:
📧 mastermindstutorials@gmail.com

➡️ Please press 👍 button if you like this content and share this video to all that could be interested in this! 🙏

––––––––––––––––––––––––––––––
Music: Spring In My Step - Silent Partner    • Spring In My Step – Silent Partner (N...  
––––––––––––––––––––––––––––––
#CSSBeginners #CSSLearnItFromScratch #CSSSyntax


On this page of the site you can watch the video online CSS for beginners 02: CSS syntax structure with a duration of hours minute second in good quality, which was uploaded by the user Masterminds Tutorials 19 July 2021, share the link with friends and acquaintances, this video has already been watched 102 times on youtube and it was liked by 9 viewers. Enjoy your viewing!