当前位置:网站首页>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;
}
边栏推荐
- Use vscode to view hex or UTF-8 codes
- GoLand 2021.2 configure go (go1.17.6)
- [how to earn a million passive income]
- 挡不住了,国产芯片再度突进,部分环节已进到4nm
- FPGA测试方法以Mentor工具为例
- 软件测试工作那么难找,只有外包offer,我该去么?
- C language standard IO function sorting
- MySQL data processing value addition, deletion and modification
- QT learning 21 standard dialog box in QT (Part 2)
- windos 创建cordova 提示 因为在此系统上禁止运行脚本
猜你喜欢

Qt学习23 布局管理器(二)

Unity embeddedbrowser browser plug-in event communication

又一个行业被中国芯片打破空白,难怪美国模拟芯片龙头降价抛售了

Go language web development series 29: Gin framework uses gin contrib / sessions library to manage sessions (based on cookies)

jvm-运行时数据区
![[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered](/img/06/b71b505c7072d540955fda6da1dc1b.jpg)
[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered

QT learning 20 standard dialog box in QT (middle)

Go language unit test 3: go language uses gocovey library to do unit test

Summary of common error reporting problems and positioning methods of thrift

Go: send the get request and parse the return JSON (go1.16.4)
随机推荐
Nucleic acid modified metal organic framework drug carrier | pcn-223 metal organic framework encapsulated ad adamantane | zif-8 encapsulated adriamycin (DOX)
Analysis of the characteristics of page owner
GoLand 2021.1: rename the go project
Record 405 questions about bank callback post request
怎样删除对象的某个属性或⽅法
Installation impression notes
Uniapp skills - scrolling components -1
JVM class loading
Qt学习20 Qt 中的标准对话框(中)
Comprehensively develop the main channel of digital economy and digital group, and actively promote the utonmos digital Tibet market
Go language unit test 3: go language uses gocovey library to do unit test
Mysql:insert date:SQL 错误 [1292] [22001]: Data truncation: Incorrect date value:
Implementation of Muduo asynchronous logging
Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
Use docker to build sqli lab environment and upload labs environment, and the operation steps are provided with screenshots.
selenium 浏览器(1)
Go language unit test 4: go language uses gomonkey to test functions or methods
[combinatorics] permutation and combination (two counting principles, examples of set permutation | examples of set permutation and circle permutation)
JS continues to explore...
Screenshot of the operation steps of upload labs level 4-level 9