Demo Dynamic Web Lab

Here is the html structure for tooltip [php][/php]
Lorem ipsum dolor sit
[php][/php]And here is the css styles[php][/php]/* base CSS element */ .tip { background: #eee; border: 1px solid #ccc; padding: 10px; border-radius: 8px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); position: relative; width: 200px; }/* arrows – :before and :after */ .tip:before { position: absolute; display: inline-block; border-top: 7px solid transparent; border-right: 7px solid #eee; border-bottom: 7px solid transparent; border-right-color: rgba(0, 0, 0, 0.2); left: -14px; top: 20px; content: ”; }.tip:after { position: absolute; display: inline-block; border-top: 6px solid transparent; border-right: 6px solid #eee; border-bottom: 6px solid transparent; left: -12px; top: 21px; content: ”; }[php][/php]Source: http://davidwalsh.name/css…

Leave a Reply

Your email address will not be published. Required fields are marked *