marmelab / universal.css

The only CSS you will ever need
Do What The F*ck You Want To Public License
1.26k stars 39 forks source link

๐Ÿ’ก Icons support? #18

Open ChALkeR opened 8 years ago

ChALkeR commented 8 years ago

Example:

.universal-๐ŸŽ‰::before {
    display: inline;
    content: '๐ŸŽ‰';
}

<i class="universal-๐ŸŽ‰"></i> would show ยซ๐ŸŽ‰ยป. Isn't that great? And users could restyle that with any images they want (e.g. ยซ๐ŸŽ‰ยป)! Finally, universal portable icons for everyone.

Bonus: no more unobvious names, you won't have to remember those anymore.

Shnoulle commented 8 years ago

Why not directly :

๐Ÿป::before {
    display: inline-block;
    content: '๐Ÿป';
}
ChALkeR commented 8 years ago

@Shnoulle That would be perfect.