IE crossing out pseudo element CSS?

后端 未结 6 818
一整个雨季
一整个雨季 2020-12-04 16:20

I\'ve been trying to get a few pseudo elements to work on IE, but it just doesn\'t let me.

It crosses out the CSS and acts like it\'s not there, which kinda aggrevat

6条回答
  •  囚心锁ツ
    2020-12-04 16:53

    To add onto the answer above. I tried display: block but my issue was that the background image was coming out warped. Instead I used below:

    display: inline-block;
    

    This fixed my issue with warped images within my :before :after

提交回复
热议问题