Joke Collection Website - Public benefit messages - CSS has a three-dimensional effect on the bubble effect of the circular border of imessage, and it is better not to flatten it.

CSS has a three-dimensional effect on the bubble effect of the circular border of imessage, and it is better not to flatten it.

& ltstyle & gt

P. pronunciation

{

Location:? Relative;

Width:? 200px

Height:? 100 px;

Text alignment:? Center;

Line height:? 100 px;

Background color:? # fff

Border:? 8px? Solid? #666;

-webkit-border-radius:? 30px

-moz-border-radius:? 30px

Border radius:? 30px

-webkit-box-shadow:? 2px? 2px? 4px? #888;

-moz-box- shadow:? 2px? 2px? 4px? #888;

Box shadow:? 2px? 2px? 4px? #888;

}

Speech: Before

{

Content:? '?' ;

Location:? Absolutely;

Width:? 0;

Height:? 0;

Left:? 30px

top:? 100 px;

Border:? 25px? Solid;

Border color:? #666? Transparent? Transparent? #666;

}

Speech: After that

{

Content:? '?' ;

Location:? Absolutely;

Width:? 0;

Height:? 0;

Left:? 38px

top:? 100 px;

Border:? 15px? Solid;

Border color:? #fff? Transparent? Transparent? # fff

}

& lt/style & gt;

& ltp? Class="speech "> This is a bubble.

You can ask Du Niang: CSS3 dialog box, you can find many examples of this shape, and some can be made directly on the Internet.