Pure CSS no picture with arrows div box

Source: Internet
Author: User
Keywords Web page production CSS Tutorials
Tags block display html web web page

<html>

&lt;head&gt; &lt;title&gt; Pure CSS no picture with arrows div box &lt;/title&gt; &lt;style&gt; div.container{position:absolute; top:30px; left:40px; font-size:9pt; Display:block; height:100px; width:200px; Background-color:transparent; *border:1px solid #666; s{position:absolute; top:-20px; *top:-22px; left:20px; display:block; height:0; width:0; font-size:0;&nbsp; line-height:0; Border-color:transparent transparent #666 transparent; Border-style:dashed dashed solid dashed; border-width:10px; I{position:absolute; top:-9px; *top:-9px; left:-10px; display:block; height:0; width:0; font-size:0; line-height:0; Border-color:transparent transparent #fff transparent; Border-style:dashed dashed solid dashed; border-width:10px; content{border:1px solid #666;-moz-border-radius:3px;-webkit-border-radius:3px; position:absolute; Background-color: #fff; width:100%; height:100%; padding:5px; *top:-2px; *border-top:1px solid #666; *border-top:1px solid #666; *border-left:none; *border-right:none; *height:102pX; box-shadow:3px 3px 4px #999; -moz-box-shadow:3px 3px 4px #999; -webkit-box-shadow:3px 3px 4px #999; /* for IE 5.5-7 * * Filter:progid:DXImageTransform.Microsoft.Shadow (strength=4, direction=135, color= ' #999999 '); * for IE 8/-ms-filter: "Progid:DXImageTransform.Microsoft.Shadow (strength=4, direction=135, color= ' #999999 ')"; &nbsp; &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class= "container" &gt; &lt;div class= "Content" &gt;&lt;br&gt; This is the text in the box, which can be displayed dynamically. The height automatically increases, should be good ^_^ &lt;/div&gt; &lt;s&gt; &lt;i&gt;&lt;/i&gt; &lt;/s&gt; &lt;/div&gt; &lt;br/&gt; &lt;/body&gt; &lt;/html &gt;
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.