css样式

input的边框样式

  1. 1.去掉input点击后边框颜色
input { outline:none; }

2.改变input触发后边框颜色

input{ outline-color:red; }

3.input选中是的框的去除方法,分为两种

        1.第一种

input:focus{
outline:1px solid red;
}

        2.第二种

input:focus{
border:1px solid red;
outline:0
}

目前这些是在工作中需要的日后会持续跟新

element plus Table 表格 剧中显示

::v-deep .el-table .el-table__cell {

  text-align: center !important;

}
  1. element plus Pagination 分页  改变分页的按钮 数字的底色

::v-deep .el-pagination.is-background .el-pager li:not(.is-disabled).is-active {
  background-color: #f67a27ff !important;
}

//改变向左向右的按钮颜色

::v-deep .el-pagination.is-background .btn-prev:disabled {
  background-color: #f67a27ff !important;
  color: #fff !important;
}
::v-deep.el-pagination.is-background .btn-next {
  background-color: #f67a27ff !important;
  color: #fff !important;
}

element plus 

  <el-select v-model="value" class="selectKert" popper-class="selectStyle" 
   placeholder="摄像头">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value"
    />
  </el-select>



//下拉框背景色
.el-popper.is-light.selectStyle {
    background-color: rgba(0, 136, 255, 0.1) !important;
    border: 1px solid #254277 !important;
}
 //下拉框的链接小方块
.selectStyle.el-popper[data-popper-placement^=bottom] .el-popper__arrow::before {
    background: rgba(0, 136, 255, 0.1) !important;
    border: 1px solid #254277 !important;
}
.selectStyle.el-popper[data-popper-placement^=top] .el-popper__arrow::before {
    background: #254277 !important;
    border: 1px solid #254277 !important;
}
 //鼠标移动上去的选中色
.selectStyle {
    .el-select-dropdown__item.hover,
    .el-select-dropdown__item:hover {
        background: #2A77C6 !important;
    }
 //下拉框的文本颜色
    .el-select-dropdown__item {
        color: #B3BCCE  !important;
    }
 //选中之后的颜色
    .el-select-dropdown__item.selected {
        background: #2A77C6 !important;
    }
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

LZQ <=小氣鬼=>

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值