mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
step 1 updates
This commit is contained in:
@@ -27,6 +27,12 @@ span {
|
||||
color: #004578;
|
||||
}
|
||||
|
||||
/* Sibling selector */
|
||||
a ~ a {
|
||||
/* Changing elements from inline to block */
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Targeting a class name */
|
||||
.tiles {
|
||||
display: flex;
|
||||
@@ -54,7 +60,7 @@ span {
|
||||
}
|
||||
|
||||
/* Qualified selector */
|
||||
div.links {
|
||||
div.important-links {
|
||||
background: #004578;
|
||||
}
|
||||
|
||||
@@ -68,12 +74,6 @@ a:hover {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
/* Sibling selector */
|
||||
a ~ a {
|
||||
/* Changing elements from inline to block */
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Positional pseudo-selector */
|
||||
.tiles > div:last-child {
|
||||
/* overrides margin-right but leaves other margins alone */
|
||||
|
||||
Reference in New Issue
Block a user