HTML5 css下三角单引号怎么写
发布网友
发布时间:2022-04-26 21:58
我来回答
共4个回答
热心网友
时间:2022-04-20 19:57
首先,下载个QQ拼音,然后按v, 在按1 ,自己找
v1
热心网友
时间:2022-04-20 21:15
<style>
.test:after {display:inline-block; content:"^"; transform:rotate(180deg) scale(1.4,0.8);}
</style>
<span class="test">服务</span>
热心网友
时间:2022-04-20 22:49
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style type="text/css" rel="stylesheet">
.test{
color:red;
position: relative;
margin-right: 20px;
}
.test:after{
content: '';
width: 6px;
height: 6px;
margin: 6px;
border: 2px solid #0a6aa1;
border-left-color: transparent;
border-top-color: transparent;
position: absolute;
transform: rotate(45deg);
transform-origin: center;
}
.test:active:after{
bottom: 0;
border: 2px solid #2f2f2f;
border-right-color: transparent;
border-bottom-color: transparent;
}
</style>
</head>
<body>
<a class="test">hello,this is a test</a>
</body>
</html>
热心网友
时间:2022-04-21 00:41
这不是图标吗,我的天还用单引号呀,i标签就搞定了,css用定位就行了,伪元素也可以