博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css div框加小箭头
阅读量:4673 次
发布时间:2019-06-09

本文共 683 字,大约阅读时间需要 2 分钟。

 

<div class="con">

    <div class="arrow"> </div>
</div>

 

.con{

width: 300px;
height: 300px;
border: 1px solid #ccc;
margin: 50px auto;
background-color:#ccc;
}
.arrow{
border-bottom: 10px solid #ccc;
border-right: 10px solid #fff;
border-left: 10px solid #fff;
border-top: 10px solid #fff;
width: 0px;
height: 0px;
position: relative;
top:-40px;
left:100px;
}

 

.gdarrow {
border-bottom: 12px solid #fff; border-right: 12px solid rgba(0, 0, 0, 0);; border-left: 12px solid rgba(0, 0, 0, 0);; border-top: 12px solid rgba(0, 0, 0, 0);; width: 0px; height: 0px; position: absolute; top: -24px; left: 45%; }

转载于:https://www.cnblogs.com/sx00/p/11298387.html

你可能感兴趣的文章
C语言练习
查看>>
Eclipse:An internal error occurred during: "Building workspace". GC overhead limit exceeded
查看>>
纯Css实现Div高度根据自适应宽度(百分比)调整
查看>>
jboss eap6.1(4)(部署应用)
查看>>
配置jboss EAP 6.4 数据库连接超时时间
查看>>
【BZOJ5005】乒乓游戏 [线段树][并查集]
查看>>
前端页面数据埋点、分析和参考
查看>>
NBear简介与使用图解
查看>>
ng-app一些使用
查看>>
sql 查询目标数据库中所有的表以其关键信息
查看>>
C# 高效率创建字符串类(StringBuilder)
查看>>
sql server 符号函数sign
查看>>
bzoj 4337 树的同构
查看>>
OPENQUERY用法以及使用需要注意的地方
查看>>
1001. Extending MyPoint class
查看>>
js使用showModalDialog,弹出一个自适应大小窗口
查看>>
[poj 3436]最大流+输出结果每条边流量
查看>>
webpack的安装
查看>>
字符流Reader和Writer
查看>>
【校招面试 之 C/C++】第33题 C++ 11新特性(四)之STL容器
查看>>