Before Pseudoelement In Chrome March 31, 2024 Post a Comment It appears to me that Chrome does not treat 'before' pseudoelement as a part of an element. More precisely, I have CSS definition .myclass:before{content:'A';} and HTML code Solution 1: It seems that you can work around it with:.myclass { display: inline-block } Copyhttp://jsfiddle.net/SUKYw/Looks like a Chrome bug - Safari does not have the same problem. Share Post a Comment for "Before Pseudoelement In Chrome"
Post a Comment for "Before Pseudoelement In Chrome"