border-radius_html/css_WEB-ITnose で描かれた太極拳の図を見てみましょう。

WBOY
リリース: 2016-06-24 12:25:03
オリジナル
1148 人が閲覧しました

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title> new document </title><style type="text/css">body {	background: #9999cc;}.as1 {	width: 400px; height: 400px;	/* 太极图大小 */	box-shadow: 0px 0px 10px 1px #ffff00;}.as1 , .ar2 , .at1{	background: #ffffff;}.as2 , .ar1 , .at2 {	background: #000000;}.as1 , .as1 div {	position: relative;	border-radius: 8000px;}.as2.as2 {	width: 50%; height: 100%;	border-radius: 8000px 0px 0px 8000px;}.ar1 , .ar2 {	left: 50%; width: 100%; height: 50%;}.at1 , .at2 {	left: 35%; top: 35%; width: 30%; height: 30%;}</style></head><body>用border-radius绘制太极图<br /><br /><div class="as1"><div class="as2">	<div class="ar1"><div class="at1"></div></div>	<div class="ar2"><div class="at2"></div></div></div></div></body></html>
ログイン後にコピー


ディスカッションに返信 (解決策)

とても良いですね、勉強になりました

本当に良かったです! ! !

とても良いです

http://css-tricks.com/examples/ShapesOfCSS/ http://css-tricks.com/examples/ShapesOfCSS/

ついでに学びました

良い良い

強力すぎる、勉強になりました

良さそうですね

オーナーさん、これが回転できたら綺麗ですね、宇宙人みたいですね! ! ! !

ソース:php.cn
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!