I like to use CSS pseudo elements to add an icon before the DIV. For this, I created a JS script. The problem is that before the pseudo-element doesnt occupy the entire height. I like that it has the same height as the div. Currently, only the height required by the icon is required.
<div class="icon"><p>Lorem Ipsum...</p><p>Lorem Ipsum...</p><p>Lorem Ipsum...</p><div>
http://jsfiddle.net/marcbaur/veq13ohs/
Does anyone have any ideas how to fix this?
greets
source
share