Skip to content

Instantly share code, notes, and snippets.

@mrsize
Created June 11, 2021 12:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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