zoukankan      html  css  js  c++  java
  • CSS实现自定义手型气泡提示

    实现自定义的手型气泡提示




    <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> .test{ background: #CE5010 none repeat scroll 0% 0%; position: relative; border-radius: 20px; margin: 60px; height: 2em; text-align: center; float: left; color: white; padding-left: 10px; padding-right: 10px; padding-top: 5px; font-size: 12px; } .test span.bot{ 0; height: 0; font-size: 0; overflow: hidden; position: absolute; border-style: solid; left: 0px; border-color: transparent transparent transparent rgb(206, 80, 16); top: 18px; border- 12px; } </style> </head> <body> <div class="test"> <span class="bot"></span> CSS"边框法"实现气泡对话框效果,需要两个辅助span </div> </body> "" <html>

      

    实现效果如下:

     

  • 相关阅读:
    总结:关于作用域的经典面试题
    解决JS拖拽出现的问题
    JS正则(3)总结
    JS正则(2)对正则的理解
    JS 闭包 正则(1)
    JS Date对象
    笔记
    9.13笔记
    9.12学习笔记
    9.11学习笔记
  • 原文地址:https://www.cnblogs.com/wlf-919874006/p/4811242.html
Copyright © 2011-2022 走看看