/Pseudo-class

Pseudo Classes

Primary LanguageHTML

Pseudo-class

Requirements

Copy and paste the code below into the index.html file for this exercise.

IMPORTANT! For this exercise you can't add any classes or ids.

  1. Currently, the

  2. items are block level elements. Add correct styles to remove the bullets and display them as inline elements.

  3. The three elements should be displayed as block elements with a 1 pixel border and 25 pixel margin on all sides.

  4. In the article element with the class n-child, add a 1 pixel border around every even numbered section element.

  • 1
  • 2
  • 3

X Y Z

A
X
B
C
D
A
B
Aside
C
D
E
A
B
Aside 1
C
D
Aside 2
E
Footer
A
B
Aside
C
D
E