html - -moz-overflow: hidden not working in firefox -


i need have mozilla firefox specific overflow: hidden property should apply in firefox.

fiddle issue

below sample code issue demonstration;

    <div class="container">     <div class="hidmeinfirefox">i should hidden in firefox</div> </div>      .container {  } .container .hidmeinfirefox {     height: 1px;     width: 1px;     -moz-overflow: hidden; } 

pure css solution :

@-moz-document url-prefix() {   .container .hidmeinfirefox {     overflow: hidden;   } } .container .hidmeinfirefox {     height: 1px;     width: 1px; } 

https://jsfiddle.net/r4y9c8b6/5/


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -