Skip to content

Commit ef88c77

Browse files
committed
feat: styling hyperlinks
1 parent f2c33c5 commit ef88c77

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,36 @@ li:nth-child(even) {
9696
}
9797

9898
/* * Just don't use on Descendent selectors */
99-
article p:first-child {
99+
/* article p:first-child {
100100
color: red;
101-
}
101+
} */
102+
103+
/* article p:last-child {
104+
color: red;
105+
} */
102106

103-
article p:last-child {
107+
/* a {
104108
color: red;
109+
} */
110+
111+
a:link {
112+
color: #1098ad;
113+
/* * Make link have no underline */
114+
text-decoration: none;
115+
}
116+
117+
a:visited {
118+
color: #1098ad;
119+
}
120+
121+
a:hover {
122+
color: olive;
123+
font-weight: bold;
124+
/* text-decoration: underline dotted orangered; */
125+
text-decoration: underline orangered;
126+
}
127+
128+
a:active {
129+
background-color: black;
130+
font-style: italic;
105131
}

0 commit comments

Comments
 (0)