CSS to create an Olympic five-ring effect

Source: Internet
Author: User
Tags pack
Tip: You can modify some of the code before running

<ptml> <pead> <meta charset= "Utf-8"/> <title>css3 Border-radius Properties &LT;/TITLE&G T <style> Circle {background-color: #f00; width:600px; /* div width and height of 600px is the square of the edges 600px * * height:600px; Text-align:center; -moz-border-radius:300px; /* The radius of the circle is half the length of the side, that is, 300px * *-webkit-border-radius:300px; border-radius:300px; Display:-moz-box; Display:-webkit-box; Display:box; -moz-box-orient:horizontal; -webkit-box-orient:horizontal; Box-orient:horizontal; -moz-box-pack:center; -moz-box-align:center; -webkit-box-pack:center; -webkit-box-align:center; Box-pack:center; Box-align:center; Font:normal 80px/100% Arial; text-shadow:1px 1px 1px #000; Color: #fff; } </style> </pead> <body> <div class= "Circle" > hello,world! </div> </body> </ptml></td> </tr> </table>
Tip: You can modify some of the code before running
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.