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

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -