当前位置:网站首页>[font multi line display ellipsis] and [dialog box] implementation ----- case explanation, executable code
[font multi line display ellipsis] and [dialog box] implementation ----- case explanation, executable code
2022-06-21 14:19:00 【Yiyao Bingo】
One 、 Font multi line display ellipsis
<style> .p3 {
margin-top: 10px; color: rgb(129, 128, 128); -webkit-line-clamp: 2; /*【 Control the number of rows displayed here 】*/ -webkit-box-orient: vertical; text-overflow: ellipsis; overflow: hidden; word-break: break-all; display: -webkit-box; } </style>
<span class="p3"></span>

Two 、 Dialog box
1、 Exhibition

2、 Code
<div id="loginout">
<p> Log out </p>
</div>
#loginout {
position: absolute;
top: 70px;
right: 0px;
width: 100px;
height: 130px;
border: 4px solid rgb(61, 59, 59);
text-align: center;
&:before {
content: "";
width: 20px;
height: 20px;
background: #fff;
border: 4px solid transparent;
border-top-color: rgb(61, 59, 59);
border-left-color: rgb(61, 59, 59); /* The border used here */
position: absolute;
top: -14px;
left: 50%;
margin-left: -5px;
transform: rotate(45deg);
}
}
3、 Look at the : White square rotate after Cover in On the rectangle

边栏推荐
- Mr. Ali taught you how to use JMeter for pressure test (detailed drawing)
- Viewing tcp/ip network communication from the sending of an email
- How can an e-commerce system automatically cancel an order when it times out?
- Lamp architecture 5 - MySQL Cluster and master-slave structure
- Chapter 2 - physical layer (I)
- Automatic operation and maintenance 3 - using playbook in ansible
- Swift return button
- Alibaba cloud link tracking is on the Net project (Jaeger trace)
- 3D slicer import label and view label
- Use of MySQL 8.0.19 under alicloud lightweight application server linux-centos7
猜你喜欢

MySQL - data type

Detailed explanation of dictionary source code in C #

Use map set or list set to store list set

Babbitt yuancosmos daily must read: wechat may ban a official account for the first time on the grounds of "involving secondary transactions in digital collections", and the new regulations of the pla

Installation of MySQL 8.0.19 under alicloud lightweight application server linux-centos7

Design and implementation of object system in redis

MySQL - transaction management

Oracle client11 and pl/sql12 installation

Viewing tcp/ip network communication from the sending of an email

What fun things can a desk service do
随机推荐
C language elementary order (VI) function
Tomorrow's interview, I can't sleep in the middle of the night to review the bottom implementation of STL
Quelle plate - forme à terme est plus sûre. Je vous en prie.
Explain the design idea and capacity expansion mechanism of ThreadLocal in detail
Automatic operation and maintenance 3 - using playbook in ansible
[untitled] fish pond forwarding command
Skills of assigning IP address by DHCP in secondary route after wireless bridge
MySQL failover and master-slave switchover based on MHA
Write a compile time annotation
Qt-6-file IO
Qmetaobject:: connectslotsbyname: no matching signal for problem solving
Postman reports error write eproto 93988952error10000f7ssl routinesopenssl_ internalWRONG_ VERSION_ NUM
Qt-3-basic components
Redis learning (1) -- overview and common commands
Use of MySQL 8.0.19 under alicloud lightweight application server linux-centos7
Set up ZABBIX monitoring and email alarm
Automation operation and maintenance 1 - installation and deployment of ansible
Babbitt yuancosmos daily must read: wechat may ban a official account for the first time on the grounds of "involving secondary transactions in digital collections", and the new regulations of the pla
Read distributed consistency protocols 2pc and 3pc
CSDN's test teacher teaches JMeter to generate stress test reports