I have such a code in Chrome and in Firefox it works fine, but in IE11 the after and befor pseudo-classes are not displayed. Therefore, I can’t insert the picture I need. What is wrong, how to fix it?
.contact .contact-form form .wpcf7-list-item label {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
color: #000;
cursor: default;
font-weight: normal;
line-height: 30px;
vertical-align: middle; }
.contact .contact-form form .wpcf7-list-item label input[type=checkbox] {
-moz-appearance:initial;
width: auto !important;
display: block;
cursor: pointer;
font-size: 13px;
visibility: hidden;
-webkit-transform: scale(1.5);
transform: scale(1.5); }
.contact .contact-form form .wpcf7-list-item label input[type=checkbox]:after {
content: " ";
background-color: #fff;
display: inline-block;
color: #00BFF0;
width: 13px;
height: 13px;
visibility: visible;
border: 1px solid #FFF;
padding: 0 6px 0 1px;
margin: 2px 0;
border: 1px solid #222222; }
.contact .contact-form form .wpcf7-list-item label input[type=checkbox]:checked:after {
content: url(../images/Group.svg);
font-weight: bold;
background: #9BAE88;
border: none;
color: black; }
.contact .contact-form form .wpcf7-list-item label .wpcf7-list-item-label {
padding-left: 22px;
margin-top: -5px; }
.contact .contact-form form .wpcf7-not-valid-tip {
font-size: 13px;
font-family: "JosefinSans",sans-serif;
font-weight: lighter; }
.contact .contact-form form .wpcf7-not-valid-tip:before {
content: url(../images/Warning.svg);
width: 100%;
border-bottom: solid 1px #fff;
margin-right: 10px;
line-height: 35px; }