How to make a cross (X) only in css3, to use as a close button ?
I've been searching since long time, i cannot found how.... When i look at source code on website using it, there's always something weird which make the code i take unusable.
The X button i want : http://tympanus.net/Tutorials/ThumbnailGridExpandingPreview/
When you click an image, this is the cross on the right.
I think this would be great if somebody can post a simple universal css code to make a simple X cross in css3
Thx
Try This Cross In CSS
As a pure CSS solution for the close or 'times' symbol you can use the ISO code with the content property. I often use this for :after or :before pseudo selectors.
The content code is \00d7.
Example
You can then style and position the pseudo selector in any way you want. Hope this helps someone :).
Here's some variety for you with several sizes and hover animations.. demo(link)
css
You can use svg.
main point you are looking for is
remaings you can make it by yourself very easily.
EDIT: