1. <style type="text/css">
  2. .rightdirection
  3. {
  4. width:0;height:0;
  5. line-height:0;
  6. border-width:20px;
  7. border-style:solid;
  8. border-color:transparent transparent transparent #A9DBF6;
  9. }
  10. .bottomdirection
  11. {
  12. width:0;height:0;
  13. line-height:0;
  14. border-width:20px;
  15. border-style:solid;
  16. border-color: #A9DBF6 transparent transparent transparent;
  17. }
  18. .leftdirection
  19. {
  20. width:0;height:0;
  21. line-height:0;
  22. border-width:20px;
  23. border-style:solid;
  24. border-color: transparent #A9DBF6 transparent transparent;
  25. }
  26. .topdirection
  27. {
  28. width:0;height:0;
  29. line-height:0;
  30. border-width:20px;
  31. border-style:solid;
  32. border-color: transparent transparent #A9DBF6 transparent;
  33. }
  34. .topdirection1
  35. {
  36. width:0;height:0;
  37. line-height:0;
  38. border-width:20px;
  39. border-style:solid;
  40. border-color: #A9DBF6 transparent transparent #A9DBF6 ;
  41. }
  42. </style>
  43. <div class="rightdirection"></div>
  44. <p>
  45. <div class="bottomdirection"></div>
  46. <p>
  47. <div class="leftdirection"></div>
  48. <p>
  49. <div class="topdirection"></div>
  50.  
  51. <br/><br/><br/><br/>
  52. <div class="topdirection1"></div>

  /****字体倾斜***/

.telta span{ color: #fff; font-weight: bold; position: absolute; margin-top: -5px; margin-left: -9px; -webkit-transform:rotate(-45deg); }

div+css 画三角形的更多相关文章

  1. css画三角形原理解析

    <div id="div1"></div><div id="div2"></div><div id=&qu ...

  2. div+css画一个小猪佩奇

    用DIV+CSS画一个小猪佩奇,挺可爱的,嘻嘻. HTML部分(全是DIV) <!-- 小猪佩奇整体容器 --> <div class="pig_container&quo ...

  3. 纯css画三角形

    纯css画三角形与border元素相关 设置border的属性 width: 100px; height: 100px; border-style: solid; border-width: 100p ...

  4. CSS画三角形引发的一些思考

      今天刷知乎时看到了一个问题,有谁能详细讲一下css如何画出一个三角形?怎么想都想不懂? - 知乎.很巧,刚入前端坑的我前不久也遇到过这个问题,今天再来谈一谈这个问题则是因为知乎的一些答案引发了我的 ...

  5. HTML 和 CSS 画三角形和画多边行基本原理及实践

    基本 HTML 标签 <div class = 'test'></div> 基本 CSS 代码 .test { width: 100px; height: 100px; bac ...

  6. Div+Css画太极图源代码

    <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>D ...

  7. 如何用CSS画三角形

    很多时候页面都需要一个或者多个小型三角形!多数人直接用PS扣个图片预览 下面用CSS简单画几个最终效果如下图 <div class="border-all-color"> ...

  8. 用css画三角形

    当我们给某个图片做一个弹出层的时候,假设要让我们的弹出层显示一个小箭头,能够用css来画 用div来演示 div{ border:12px solid; berder-color:transparen ...

  9. CSS 画三角形、圆

    <div class="square"></div> <style> .square { height: 0px; width: 0px; bo ...

随机推荐

  1. 所有iOS设备的屏幕分辨率

     iPhone设备 物理分辨率是硬件所支持的,逻辑分辨率是软件可以达到的. 代数 设备 操作系统 逻辑分辨率(point) 物理分辨率(pixel) 屏幕尺寸(对角线长度) 缩放因子   iPhone ...

  2. UIPanGestureRecognizer判断滑动的方向

    .h文件 CGFloat const gestureMinimumTranslation = 20.0 ; typedef enum : NSInteger { kCameraMoveDirectio ...

  3. microsoft-sql-server release-notes

    https://docs.microsoft.com/en-us/sql/release-notes/microsoft-sql-server

  4. ulimit 不生效

    ulimit is a shell builtin like cd, not a separate program. sudo looks for a binary to run, but there ...

  5. 路由器漏洞复现分析第二弹:CNVD-2018-01084

    1月17日,CNVD公开了D-LinkDIR 615/645/815 service.cgi远程命令执行漏洞(CNVD-2018-01084),freebuf上有前辈写了一篇漏洞复现和poc的文章(h ...

  6. python 常用的模块(collections)转

    collections是Python内建的一个集合模块,提供了许多有用的集合类. namedtuple 我们知道tuple可以表示不变集合,例如,一个点的二维坐标就可以表示成: >>> ...

  7. 排序算法的实现(冒泡,选择,插入 O(N*N)--理解方法实现

    以前也看过很多排序算法的原理,每次都想自己实现一下,一直都再拖,现在着牛课网学习算法课程,希望自己能够坚持练习. //对于一个int数组,请编写一个选择冒泡算法,对数组元素排序. //给定一个int数 ...

  8. JavaScript Best Practices

    原文: https://www.w3schools.com/js/js_best_practices.asp --------------------------------------------- ...

  9. mvn 更改打包的名称

    在pom.xml中加入以下代码 <build> <finalName>moon</finalName> <pluginManagement> <p ...

  10. [PWA] Cache JSON Data in a React PWA with Workbox, and Display it while Offline

    We can view the PWA offline because we are caching the static and CDN assets for the app - but the l ...