css实现的交互小三角箭头图标

(编辑:jimmy 日期: 2024/11/1 浏览:2)


复制代码代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>css实现的交互小三角箭头图标</title>
<style>
p{
border-color: transparent transparent #f0f0f0 transparent;
border-style: solid;
border-width: 0 6px 6px 6px;
padding: 0;
width: 0;
height: 0;
font-size: 0;
line-height: 0;
overflow: hidden;
}
</style>
</head>
<body>
<p></p>
</body>
</html>