--

* position it inside a container with overflow: hidden and 0 width/height
* use :after pseudoselector to overlay it with an element that matches the background colour
* change font size to 0 (maybe, just from top of my head :)

--

--

Ismayil Khayredinov
Ismayil Khayredinov

Written by Ismayil Khayredinov

Software engineer who combines optimism with pessimism to build robust and idiot-proof solutions

Responses (1)