
CSS
冒烟筒
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CSS单位加减运算 动态计算长度值calc()
margin-left: calc(50% + 10px); // calc() 函数用于动态计算长度值。 // 需要注意的是,运算符前后都需要保留一个空格,例如:width: calc(100% - 10px); // 任何长度值都可以使用calc()函数进行计算; // calc()函数支持 "+", "-", "*", "/" 运算; // calc()函数使用标准的数学运算优先级规...原创 2019-12-02 15:04:33 · 914 阅读 · 0 评论 -
将select文本居中
select { width: 70px; height: 37px; text-align-last: center; -moz-text-align-last: right; /* 兼容 Firefox*/ } 取值: auto:无特殊对齐方式。 left:内容左对齐。 center:内容居中对齐。 right:内容右对齐。 justify:内容...原创 2018-08-09 12:06:59 · 1229 阅读 · 0 评论 -
vue自定义下拉框
<template> <div class="select"> <div class="select-head"> <span class="select-head-cont">{{siteTxt}}</span> <span原创 2019-03-06 14:12:18 · 1587 阅读 · 0 评论