CSS for beginners 10: Inline CSS

Опубликовано: 30 Сентябрь 2024
на канале: Masterminds Tutorials
71
6

Hi there and welcome! 😊 In this video, we will explain to you what is inline CSS.

With inline CSS we can apply CSS styles directly on any HTML element. To use inline CSS style we just need to define style HTML attribute directly on HTML element for which we want to apply CSS style and like a value for style attribute we can use style(s) that we want to apply.
For example, we can apply inline style to create purple background for our div:
➡️ div style="background-color: purple"

With inline style we can apply more than one CSS style on some element, in that case we just need to separate our styles with semi-colon:
➡️ div style="background-color: purple; font-size: 20px"

💻 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:
📧 [email protected]

➡️ 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 #InlineCSS