当前位置:网站首页>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;
}
边栏推荐
- Mysql:insert date:SQL 错误 [1292] [22001]: Data truncation: Incorrect date value:
- Comprehensively develop the main channel of digital economy and digital group, and actively promote the utonmos digital Tibet market
- Logback log sorting
- Multi person collaborative data annotation based on Baidu brain easydata from scratch
- Bidirectional linked list (we only need to pay attention to insert and delete functions)
- Qt学习19 Qt 中的标准对话框(上)
- Go 1.16.4: purpose of go mod tidy
- Summary of common error reporting problems and positioning methods of thrift
- php 迷宫游戏
- 记录关于银行回调post请求405 问题
猜你喜欢

Unity embeddedbrowser browser plug-in event communication

Qt学习18 登录对话框实例分析

Use vscode to view hex or UTF-8 codes

可编程逻辑器件软件测试
![[技術發展-24]:現有物聯網通信技術特點](/img/f3/a219fe8e7438b8974d2226b4c3d4a4.png)
[技術發展-24]:現有物聯網通信技術特點

Qt学习17 对话框及其类型

RichView TRVStyle ListStyle 列表样式(项目符号编号)

PhpMyAdmin stage file contains analysis traceability

JVM class loading

The solution of Chinese font garbled code in keil5
随机推荐
Go language web development series 29: Gin framework uses gin contrib / sessions library to manage sessions (based on cookies)
Go 1.16.4: manage third-party libraries with Mod
MySQL data processing value addition, deletion and modification
Flutter dynamic | fair 2.5.0 new version features
Multi person collaborative data annotation based on Baidu brain easydata from scratch
Qt学习23 布局管理器(二)
Similarities and differences of sessionstorage, localstorage and cookies
Go language web development series 27: Gin framework: using gin swagger to implement interface documents
Windos creates Cordova prompt because running scripts is prohibited on this system
Common network state detection and analysis tools
Go: send the get request and parse the return JSON (go1.16.4)
Replace the GPU card number when pytorch loads the historical model, map_ Location settings
PHP maze game
JS new challenges
28:第三章:开发通行证服务:11:在配置文件中定义属性,然后在代码中去获取;
[acnoi2022] guess numbers
Sequence table (implemented in C language)
[how to earn a million passive income]
Logback log sorting
Unable to stop it, domestic chips have made another breakthrough, and some links have reached 4nm