You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS is about styles. To apply styles you always have to follow these steps:
6
+
Another way to apply styles is by using a `<style>` tag, you always have to follow these steps:
7
7
8
8
1. Read the HTML and pick what element (tag) you want to decorate or apply styles to.
9
9
10
10
2. Programmatically select the element you want to style using [CSS Selectors](https://4geeks.com/lesson/what-is-css-learn-css#wait-what-is-a-selector).
11
11
12
12
3. Write the styling that you want by using [CSS property rules](https://4geeks.com/lesson/what-is-css-learn-css#properties).
13
13
14
-
That is it! The rest is just semantics! 😁
14
+
But make sure your CSS code is wrapped inside a `<style>` tag instead of using the tag `style` property.
0 commit comments