当前位置:网站首页>Common mixins
Common mixins
2022-07-03 14:02:00 【pzy_ six hundred and sixty-six】
Fix the problem of height collapse caused by floating
@mixin clearfix {
&:after {
clear: both;
content: '.';
display: block;
height: 0;
line-height: 0;
overflow: hidden;
}
*height: 1%;
}
Single line text is too long to display ellipsis
@mixin textOverflow($width:100%,$display:block) {
max-width: $width;
display: $display;
white-space: nowrap;
-ms-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
}
边栏推荐
- Spring cup eight school league
- 树的深入和广度优先遍历(不考虑二叉树)
- 1px problem of mobile terminal
- Uniapp tips - scrolling components
- Formation of mil-100 (FE) coated small molecule aspirin [email protected] (FE) | glycyrrhetinic acid modified metal organ
- Qt学习23 布局管理器(二)
- Sequence table (implemented in C language)
- Ocean CMS vulnerability - search php
- Example analysis of QT learning 18 login dialog box
- 【556. 下一个更大元素 III】
猜你喜欢

Summary of common error reporting problems and positioning methods of thrift

Implementation of Muduo asynchronous logging

Use and design of Muduo buffer class

Use vscode to view hex or UTF-8 codes
![[技術發展-24]:現有物聯網通信技術特點](/img/f3/a219fe8e7438b8974d2226b4c3d4a4.png)
[技術發展-24]:現有物聯網通信技術特點

QT learning 23 layout manager (II)

【BW16 应用篇】安信可BW16模组与开发板更新固件烧录说明

Go: send the get request and parse the return JSON (go1.16.4)

QT learning 21 standard dialog box in QT (Part 2)
[email"/>Folic acid modified metal organic framework (zif-8) baicalin loaded metal organic framework composite magnetic material (AU- [email
随机推荐
Golang - command line tool Cobra
Golang — template
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
selenium 浏览器(1)
太阳底下无新事,元宇宙能否更上层楼?
Qt学习19 Qt 中的标准对话框(上)
Example analysis of QT learning 18 login dialog box
[技術發展-24]:現有物聯網通信技術特點
MIL-100( Fe) 包裹小分子阿司匹林形成[email protected](Fe)|甘草次酸修饰金属有机框架材料UiO-66-NH2(简称UiO-66-NH2-GA)
Richview trvstyle liststyle list style (bullet number)
GoLand 2021.2 configure go (go1.17.6)
Using registered classes to realize specific type matching function template
Nucleic acid modified metal organic framework drug carrier | pcn-223 metal organic framework encapsulated ad adamantane | zif-8 encapsulated adriamycin (DOX)
JVM object lifecycle
Summary of common error reporting problems and positioning methods of thrift
JS continues to explore...
Conversion function and explicit
IBEM mathematical formula detection data set
Stack application (balancer)
记录关于银行回调post请求405 问题