I want to create a close button using CSS only.
I\'m sure I\'m not the first to do this, so does anyone know which font has an \'x\' the same width as height, so that it
× ×
or ×
(same thing) U+00D7 multiplication sign
× same character with a strong font weight
⨯ ⨯
U+2A2F Gibbs product
✖ ✖
U+2716 heavy multiplication sign
There's also an emoji ❌ if you support it. If you don't you just saw a square = ❌
I also made this simple code example on Codepen when I was working with a designer who asked me to show her what it would look like when I asked if I could replace your close button with a coded version rather than an image.
-
-
-
-