CSS
尤加利叶
这个作者很帅 , 只留下了一身帅气
展开
-
styled 手撸Switch开关
import React from "react"import styled from "styled-components"// 开关盒子const SwitchBox = styled.div` width: 44px; height: 22px; border-radius: 12px; border: 2px solid #e9eef2; padding: 2px; cursor: pointer;`// 多选框const checkbox = styled.原创 2022-03-28 18:01:50 · 300 阅读 · 0 评论 -
antd Select 清除外边框
.ant-select:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector { border-color: transparent; box-shadow: none; }原创 2021-08-06 15:51:23 · 2356 阅读 · 1 评论 -
grid 布局
display: grid; grid-template-columns: repeat(5, 161px); grid-template-rows: 24px; grid-row-gap: 8px; grid-column-gap: 8px;grid-template-columns:repeat(5,161px)第一个参数5 表示5列 每列宽度161pxgrid-template-rows:24...原创 2021-09-18 15:10:17 · 113 阅读 · 0 评论