12. close button in CSS

  - accepted / - tried

Create a close button in CSS.

Lines for the cross should have

  1. length : 3/4 of button width
  2. thickness: 2px
  3. color: #aaa
<button class="close"></button>

1.20x20

2.40x40

3.60x60

Discuss(3)