当前位置:网站首页>[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

边栏推荐
猜你喜欢

Qt-5-multi window programming

Design and implementation of object system in redis

Qt-7-multithreading

Installation of oracle19c under alicloud lightweight application server linux-centos7

Alibaba cloud link tracking is on the Net project (Jaeger trace)

Declare war on uncivilized code I

Explain the high availability features of Nacos

Comprehensively analyze the key points of knowledge required for interface testing and interface testing

Automatic operation and maintenance 4 - variables and encryption in ansible

Dplayer development barrage background
随机推荐
Mingw-w64 installation tutorial
Atom的一些操作
Some atom operations
Installation of oracle19c under alicloud lightweight application server linux-centos7
Dplayer development barrage background
Alibaba cloud link tracking is on the Net project (Jaeger trace)
Sort query results according to the input order of fuzzy query jancode
IMU selection, calibration error analysis, AHRS integrated navigation
Must the database primary key be self incremented? What scenarios do not suggest self augmentation?
Which futures trading platform is more secure. Ask for recommendation.
How does JMeter implement interface association?
Postman testing websocket interface
Chapter 3 - data link layer
Unbounded territory won the title of innovative brand of digital culture industry in 2022
Alibaba cloud log service is available in Net project
Turn to the countdown for coupon issuance! First look at the rules of interstellar pocket donation
PostgreSQL query by date range
Automation operation and maintenance 1 - installation and deployment of ansible
MySQL - index
Reptile Foundation_ Requests Library