当前位置:网站首页>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;
}
边栏推荐
- Halcon combined with C # to detect surface defects -- Halcon routine autobahn
- Sequence table (implemented in C language)
- [understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
- [how to earn a million passive income]
- MySQL 数据增删改查综合案例
- [combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
- Go language unit test 5: go language uses go sqlmock and Gorm to do database query mock
- Dlopen() implements dynamic loading of third-party libraries
- JVM family - overview, program counter day1-1
- 软件测试工作那么难找,只有外包offer,我该去么?
猜你喜欢
Bidirectional linked list (we only need to pay attention to insert and delete functions)
[email protected]纳米粒子"/>
金属有机骨架MIL-88负载阿霉素DOX|叶酸修饰UiO-66-NH2负载阿霉素[email protected]纳米粒子
SQL Injection (AJAX/JSON/jQuery)
SQL Injection (GET/Search)
QT learning 22 layout manager (I)
Go language unit test 3: go language uses gocovey library to do unit test
Qt学习18 登录对话框实例分析
Go language unit test 4: go language uses gomonkey to test functions or methods
Qt学习21 Qt 中的标准对话框(下)
28: Chapter 3: develop Passport Service: 11: define attributes in the configuration file, and then obtain them in the code;
随机推荐
项目协作的进度如何推进| 社区征文
SQL Injection (POST/Select)
Unable to stop it, domestic chips have made another breakthrough, and some links have reached 4nm
Logback log sorting
Golang - command line tool Cobra
Flutter dynamic | fair 2.5.0 new version features
Golang — 命令行工具cobra
page owner特性浅析
IBEM mathematical formula detection data set
[how to earn a million passive income]
QT learning 24 layout manager (III)
Another industry has been broken by Chinese chips. No wonder the leading analog chip companies in the United States have cut prices and sold off
Summary of common error reporting problems and positioning methods of thrift
Bidirectional linked list (we only need to pay attention to insert and delete functions)
Failure of vector insertion element iterator in STL
Qt学习22 布局管理器(一)
[combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
Go language web development series 28: solve cross domain access of CORS with gin contrib / CORS
SQL Injection (AJAX/JSON/jQuery)
UiO-66-COOH装载苯达莫司汀|羟基磷灰石( HA) 包裹MIL-53(Fe)纳米粒子|装载黄芩苷锰基金属有机骨架材料