css实现箭头样式

本文详细解释了如何使用CSS编写`.tool_item`类的样式,包括内边距、对齐、边框、transform和伪元素的使用,展示了如何为工具栏项目添加动态效果。
摘要由CSDN通过智能技术生成
	.tool_item {
		margin-left: 15rpx;
		padding: 30rpx 30rpx 30rpx 0;
		display: flex;
		align-items: center;
		position: relative;
		border-bottom: 2rpx solid #efefef;
	}

	.tool_item::after {
		content: "";
		height: 30rpx;
		width: 30rpx;
		border-width: 2rpx 2rpx 0 0;
		border-color: #B2B2B2;
		border-style: solid;
		-webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
		transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
		position: absolute;
		top: 50%;
		margin-top: -14rpx;
		right: 30rpx;
	}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值