Skip to content

Commit

Permalink
Update basic.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzaildev authored Oct 24, 2023
1 parent f3da6c1 commit a37e0d9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions content/batch/learn/css/basic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,12 @@ h1 {
color: green;
}

Add More important Selectors tags that really used.
Essential Selectors Tag that Really used.

/* Child Selector (using > ) */
div>p {
background-color: green;
}

/* Descendant Selector */

.div p {
background-color: maroon;
}
Expand All @@ -141,17 +137,6 @@ background-color: maroon;
margin: 0;
padding: 0;
}
/* Pseudo Selector */

/* If you visited the website then you can change the color */
a:visited {
color: red;
}

/* If you want to change link color before visit */
a:link {
color: blueviolet;
}

/* Specificity example */
.heading#title {
Expand Down

0 comments on commit a37e0d9

Please sign in to comment.