File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,31 @@ this will not work because paragraph is not the first child of our article
118118article p:first-child {
119119 color: red;
120120}
121- */
122121
123- /* but this is gonna work, because paragraph is the last child of our article */
122+ but this is gonna work, because paragraph is the last child of our article
124123
125124article p:last-child {
126125 color: red;
127126}
127+ */
128+
129+ /* Styling links */
130+ a : link {
131+ color : # 1098ad ;
132+ text-decoration : none;
133+ }
134+
135+ a : visited {
136+ color : # 1098ad ;
137+ }
138+
139+ a : hover {
140+ color : orangered;
141+ font-weight : bold;
142+ text-decoration : underline orangered;
143+ }
144+
145+ a : active {
146+ background-color : black;
147+ font-style : italic;
148+ }
You can’t perform that action at this time.
0 commit comments