CSS的一些常用样式,如背景、文字、文本、表格、列表等,以及一些常用的场景,如居中对齐、溢出、隐藏元素等。01、常用样式 1.1、background背景 设置元素背景的样式 background,更
顺晟科技
2022-09-14 11:06:32
182
1 input[type=\'radio\'] 2 //width 16px 3 //height 16px 4 display none 5 //input[type=\'radio\']:chcked 6 // backgound #006a45 7 input:disabled 8 background #f5f5f5 9 input:checked + i 10 background-color #f6f8f9 11 color #bbb; 12 border 1px solid #e1e1e1 13 input + i 14 box-shadow 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05) 15 padding 8px 16 border-radius 50px 17 display inline-block 18 position relative 19 input:checked + i::after 20 content \' \' 21 width 8px 22 height 8px 23 border-radius 50% 24 position absolute 25 top: 4px 26 background #019c66 27 box-shadow inset 0px 0px 10px rgba(0,0,0,0.3) 28 text-shadow 0px 29 left 4px 30 font-size 32px
09
2022-11
19
2022-10
30
2022-09
15
2022-09
15
2022-09
15
2022-09