HTML CSS examples for CSS Form:input button style
Popup pointing to button CSS
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from w w w . ja va 2 s.c o m--> background: #26A9E1; padding: 40px; position: relative; } p { background: white; -webkit-border-radius: 50px; -moz-border-radius: 10px; border-radius: 0px; width: 550px; height: 150px } #pointer { border: solid 20px transparent; border-bottom-color: #fff; position: absolute; margin: -205px 00px 00px 10px; } .container { display: none; position: absolute; top: 25px; } #p { position: relative; } #p:focus .container { display: block; } </style> </head> <body> <button id="p" type="button"> Click Me! <div class="container"> <p></p> <div id="pointer"></div> </div> </button> </body> </html>