css
10000cat
这个作者很懒,什么都没留下…
展开
-
CSS Typical Device Breakpoints
There are tons of screens and devices with different heights and widths, so it is hard to create an exact breakpoint for each device. To keep things simple you could target five groups:原创 2022-12-07 22:45:42 · 94 阅读 · 0 评论 -
纯css实现标题长度截取
/* styles for '...' */ .block-with-text { /* hide text if it more than N lines */ overflow: hidden; /* for set '...' in absolute position */ position: relative; /* use this value to count block height */ line-height: 1.2em; /* max-height .原创 2021-12-20 16:51:34 · 107 阅读 · 0 评论