Skip to content

Commit 1ee98e0

Browse files
张欧文张欧文
张欧文
authored and
张欧文
committed
finish course 029 pesudo classes
1 parent 0a5434f commit 1ee98e0

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,26 @@ li:last-child {
8989
font-style: italic;
9090
}
9191

92-
li:nth-child(2) {
92+
/* li:nth-child(2) {
9393
color: red;
94+
} */
95+
96+
a:link {
97+
color: #1098ad;
98+
text-decoration: none;
99+
}
100+
101+
a:visited {
102+
color: #1098ad;
103+
}
104+
105+
a:hover {
106+
color: orangered;
107+
text-decoration: underline;
108+
font-weight: bold;
109+
}
110+
111+
a:active {
112+
background-color: black;
113+
font-style: italic;
94114
}

0 commit comments

Comments
 (0)