css - visibility:hidden in firefox how to? -
i have code this:
.module::first-letter{ visibility:hidden; }
but solution not working on firefox:( display:none; not working "::first-letter" css code :(
how can hide first letter in firefox?
you can try setting font-size:0
while not supported.
.module::first-letter{ font-size:0 }
<div class="module">hide letter h </div>
or last resort color:transparent
.module::first-letter { color: transparent }
<div class="module">hide letter h</div>
note difference between both, 1st removes letter space, second 1 doesn't.
Comments
Post a Comment