CSS教程

关注公众号 jb51net

关闭
网页制作 > CSS > CSS教程 >

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

脚本之家



<!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>