萬盛學電腦網

 萬盛學電腦網 >> 網頁制作 >> DivCSS教程 >> 使用css實現圓角圖形繪制的方法

使用css實現圓角圖形繪制的方法

歡迎大家在這裡學習css實現圓角圖形!下面是我們給大家整理出來的精彩內容。希望大家在這裡學習!

XML/HTML Code復制內容到剪貼板

Flex is a cross-platform development framework for creating rich Internet applications (RIAs). Flex enables you to create expressive, high-performance applications that run identically on all major browsers and operating systems.

css

CSS Code復制內容到剪貼板

body{background-color:#000;}

.curvedBox{

width:300px;

margin: 2510px auto 0;

}

.curvedBox .r1,.curvedBox .r2,.curvedBox .r3,.curvedBox .r4{

background-color:#fff;

display:block;

overflow:hidden;

height:1px;

font-size:1px;

}

.curvedBox .r2,.curvedBox .r3,.curvedBox .r4{

border-width:0 1px;

border-left:1px solid #fff;

border-right:1px solid #fff;

}

.curvedBox .r1{margin:0 6px;}

.curvedBox .r2{margin:0 3px;}

.curvedBox .r3{margin:0 2px;}

.curvedBox .r4{

margin:0 1px;

height:2px;

}

.curvedBox .content{

background:#fff;

border-left:1px solid #fff;

border-right:1px solid #fff;

padding:0 5px;

}

css實現圓角圖形精彩內容就到這裡了!希望大家可以好好利用!

相關推薦:

CSS的DRY編程方式是什麼

copyright © 萬盛學電腦網 all rights reserved