Skip to content

Instantly share code, notes, and snippets.

@mrsize

mrsize/antispam.css

Created Jun 11, 2021
Embed
What would you like to do?
E-mail and Phone number antispam CSS
/* E-mail Antispam */
.arobase::before {
content: "\000040";
font-size: inherit !important;
}
.arobase span {
font-size: 1px;
font-size: 0.1px;
text-indent: -999px;
width: 1px;
overflow: hidden;
}
/* Phone Antispam */
span[class^="zero-"]{
font-size:1px;
font-size:0.01rem
}
span[class^="zero-"]::before{
font-size:initial
}
.zero-un::before{
content:"01";
}
.zero-six::before{
content:"06";
}
.zero-sept::before{
content:"07";
}
.zero-huit::before{
content:"08";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment