uniapp 去掉button默认样式

这段CSS代码主要描述了一个按钮的样式设计,包括去除边框、背景颜色、相对定位、居中显示、文本对齐、内边距设置、盒模型、字体大小、行高、透明度、溢出隐藏、颜色和背景色的设定。该样式适用于全尺寸、全白色的按钮,确保在不同设备上的一致显示。
摘要由CSDN通过智能技术生成

在这里插入图片描述
在这里插入图片描述

button::after{
		border: none;
		background-color: none;
	}
button{
		position: relative;
			display: block;
			margin-left: auto;
			margin-right: auto;
			padding-left: 0px;
			padding-right: 0px;
			box-sizing: border-box;
			// font-size: 18px;
			text-align: center;
			text-decoration: none;
			// line-height: 1;
			line-height: 1.35;
			// border-radius: 5px;
			-webkit-tap-highlight-color: transparent;
			overflow: hidden;
			color: #000000;
			background-color: #fff;
			width: 100%;
			height: 100%;
	}
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值