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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -