css绘制带箭头对话框
来源:互联网 发布:java内嵌webkit浏览器 编辑:程序博客网 时间:2024/04/29 00:19
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Test</title> <style> .tip { position: relative; background-color: deepskyblue; margin: 20px auto; width: 246px; height: 43px; line-height: 43px; color: white; text-align: center; border-radius: 10px; font-family: sans-serif; } .tip:after { content: ''; position: absolute; width: 0; height: 0; border: 8px solid; } .top:after { border-bottom-color: deepskyblue; left: 50%; bottom: 100%; margin-left: -15px; } .right:after { border-left-color: deepskyblue; left: 100%; top: 50%; margin-top: -7px; } .bottom:after { border-top-color: deepskyblue; top: 100%; left: 50%; margin-left: -15px; } .left:after { border-right-color: deepskyblue; top: 50%; right: 100%; margin-top: -9px; } </style></head><body> <div class="tip top">top</div> <div class="tip bottom">bottom</div> <div class="tip left">left</div> <div class="tip right">right</div></body></html>
效果图:
0 0
- css绘制带箭头对话框
- css实现对话框-带箭头提示框
- Css绘制箭头
- 纯CSS绘制箭头
- css 绘制三角形箭头
- 绘制带箭头的直线
- 绘制带箭头的直线
- 绘制带箭头的直线
- Matlab绘制带箭头坐标
- 纯粹CSS 绘制向下箭头
- 纯css绘制 三角形 ,箭头
- 使用CSS border绘制箭头
- Qt绘制带箭头的线段
- Matlab中绘制带箭头的坐标轴
- 使用SVG绘制带箭头的线
- 使用SVG绘制带箭头的线
- 用Dialog创建带箭头的对话框
- 用Dialog创建带箭头的对话框
- virtualenv详解
- 异步任务----AsyncTask
- 有向图的欧拉路
- Linux man命令的使用方法
- 修改Windows系统下滚轮方向为自然方向,与OSX相同
- css绘制带箭头对话框
- hibernate关于session的关闭问题
- SAP 网络流模板,邻接矩阵
- ios 获取设备号
- python编程常用模板总结
- WebService上传和下载文件
- python基础学习二 list和tuple(列表和元组)
- Hbernate一对多和多对一关系详解
- 一路PN码串行捕获设计--基于《通信收发信机的verilog实现与仿真》实例