나는 동시에 theese 요소를 가져 오려고합니다. ..span class = "glyphicon glyphicon-link icon-top .. 그리고 ..a href ="javascript :; "class ="link1 "이것은 텍스트입니다. .두 요소를 동시에 가져갈 수있는 방법은 무엇입니까?
이 저를 도와주세요.
// Dont run this snippet :) I used it to paste me code \\
.top-part > .top-left-part > ul {
list-style: none;
}
.top-part > .top-left-part > ul > li {
display: inline-block;
}
.top-part > .top-left-part > ul > li > .link1 {
color: white;
transition: all 0.3s ease;
}
.top-part > .top-left-part > ul > li > .link1 {
color: white;
text-decoration: none;
}
.top-part > .top-left-part > ul > li > .link1:hover {
color: #2ECC71;
text-decoration: none;
}
.top-part > .top-left-part > ul > li > .icon-top {
color: white;
background-color: #555;
border-radius: 200px;
padding: 7px;
margin: 0 2.5px;
transition: all 0.3s ease;
}
.top-part > .top-left-part > ul > li > .icon-top:hover {
background-color: #2ECC71;
}
<ul>
<li><span class="glyphicon glyphicon-link icon-top"></span>
<a href="javascript:;" class="link1">
[email protected]
</a></li>
<li><span class="glyphicon glyphicon-envelope icon-top"></span>
<a href="javascript:;" class="link1">
Kapcsolat
</a></li>
</ul>
당신이를'퍼팅 생각이 있나요? –