当前位置:网站首页>Simple setting of drop-down triangle
Simple setting of drop-down triangle
2022-07-25 22:35:00 【Mo Nian】
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
margin: 0;
height: 0;
}
li{
list-style: none;
}
a{
text-decoration: none;
}
.box{
width: 100px;
height: 30px;
background-color: aqua;
margin: 0 auto;
position:relative;
}
.content>a{
width: 100px;
padding-left: 30px;
}
.box1{
width: 150px;
height: 100px;
background-color: bisque;
margin-top: 8px;
margin-left:-65px;
display: none;
}
.box:hover .box1{
display: block;
}
.box1::after{
content: '';
display: block;
width: 0;
height: 0;
border: 8px solid red;
border-color:transparent transparent red transparent;
position: absolute;
left: 40px;
bottom: 0;
}
</style>
</head>
<body>
<div class="box">
<div class="content"> <a href="#"> download </a>
<ul>
<li class="box1"><a href="#"></a></li>
</ul>
</div>
</div>
</body>
</html>


边栏推荐
- 3 lexical analysis
- 【PMP学习笔记】第1章 PMP体系引论
- Div drag effect
- 【集训DAY12】树!树!树!【贪心】【最小生成树】
- Google analyzes how UA can be transferred to the latest version of GA4
- 完啦,上班三个月,变秃了
- 力扣解法汇总919-完全二叉树插入器
- IPv4 addresses have been completely exhausted, and the Internet can work normally. NAT is the greatest contributor!
- [training day13] backpack [dynamic planning] [greed]
- If it is modified according to the name of the framework module
猜你喜欢
随机推荐
If jimureport building block report is integrated according to the framework
[training Day12] tree! Tree! Tree! [greed] [minimum spanning tree]
[training Day12] x equation [high precision] [mathematics]
The third day of Xiaobai programmer
IPv4地址已经完全耗尽,互联网还能正常运转,NAT是最大功臣!
【集训DAY12】Bee GO!【动态规划】【数学】
力矩电机控制基本原理
【Leetcode】502.IPO(困难)
What is the difference between character constants and string constants?
Compile and decompile
If it is modified according to the name of the framework module
Simple application of partial labels and selectors
Visitor mode
Ffmpeg plays audio and video, time_ Base solves the problem of audio synchronization and SDL renders the picture
Mitsubishi FX PLC free port RS command realizes Modbus Communication
Today, learn about the use of lists, hyperlinks, image tags, and audio and video
Pyspark data analysis basis: pyspark.sql.sparksession class method explanation and operation + code display
Today, let's talk about the if branch statement of the selection structure
Domain oriented model programming
【集训DAY11】Calc【数学】









