어떤 이유인지, IE는 아래 내용으로 attr (data-title) 내용을 가져 오지 않습니다. FF와 Chrome에서 작동합니다.콘텐츠 : attr(); IE 10에서 작동하지 않습니다.
해결 방법?
<a href="#" class="nav-roll">
<span data-title="About">About</span>
</a>
.nav-roll span:after {
background: none repeat scroll 0 0 #0198cd;
color: #FFF;
content: attr(data-title);
display: block;
padding: 0 2px;
position: absolute;
left: 0;
top: 0;
}
무엇이 문제입니까? – user123444555621
편집 됨, 죄송합니다 .. – user2184043