july
july
[demo](https://codepen.io/hewxwshining/pen/wVxMNB) css: ``` ul { list-style: none; padding: 0; } .menu-item { line-height: 40px; font-size: 14px; color: #666; transition: .3s; cursor: pointer; } .menu-item a { padding: 0 25px; color:...
[Demo](https://codepen.io/hewxwshining/pen/OJJRvJE) CSS代码: ``` /* 代码没高亮,视觉还原有问题,按钮左右高度不一致等 */ summary::-webkit-details-marker { display: none; } details { display: inline-block; } svg { vertical-align: -3px; } .btn-group { font-size: 0; display: inline-block; } .btn-group~.btn-group {...
[demo]( https://codepen.io/hewxwshining/pen/gOamrOb) ```css .flex-wrapper { display: flex; flex-wrap: nowrap; } .flex-content { display: flex; flex-wrap: wrap; flex-shrink: 1; height: 33px; overflow: hidden; } span { padding: 5px 10px; border: 1px...