就像这样,小程序中还是较为常用的:
<template>
<view class="right_x"></view>
</template>
<script>
</script>
<style scoped>
.right_x {
display: inline-block;
margin-top: 50rpx;
//改叉叉大小 6:1等量放大缩小就行(算好的,省的自己调整太麻烦)
width: 18rpx;
height: 3rpx;
background: #999;
line-height: 0;
font-size: 0;
vertical-align: middle;
-webkit-transform: rotate(45deg);
}
.right_x:after {
content: "/";
display: block;
//改叉叉大小 6:1等量放大缩小就行(这里也要改)
width: 18rpx;
height: 3rpx;
background: #999;
-webkit-transform: rotate(-90deg);
}
</style>