CSS ile Oval border (radius)
Bana lazim oldu arastirdim.Bir cok kisininde isine yarayacagini dusunerek paylasmak istedim.
CODE:
-
-moz-border-radius-topleft
-
-moz-border-radius-topright
-
-moz-border-radius-bottomleft
-
-moz-border-radius-bottomright
-
-moz-border-radius
isimlerindende anlayacaginiz gibi;
-moz-border-radius-topleft = sol ust
-moz-border-radius-topright = sag ust
-moz-border-radius-bottomleft = sol alt
-moz-border-radius-bottomright = sag alt
-moz-border-radius = butun koseler
Test 1:
HTML:
-
<div style="height:50px;width:100px;-moz-border-radius:10px;border:2px solid #000000;"></div>
Sonuc 1:
Test 2:
HTML:
-
<div style="height:50px;width:100px;-moz-border-radius:30px 5px;border:2px solid #000000;"></div>
Sonuc 2:
Test 3:
HTML:
-
<div style="height:50px;width:100px;-moz-border-radius-topright:10px;-moz-border-radius-bottomright:10px;border:2px solid #000000;"></div>
Sonuc 3:
Test 4:(image)
HTML:
-
<img src="http://www.kareweb.net/100x40.jpg" style="border:2px solid #000000;-moz-border-radius:10px;padding:2px;"/>
Sonuc 4:(image)

Kendinize gore bir cok cesit gorunum elde edebilirsiniz..
Etiketler: border, css, div, html, moz border radius, oval border, radius, tasarim, web2, web2.0

(5 oy ortalamasi: 4.2 / 5)


CASH yazmış: 21.09.2008 saat 02:41
güzel bir yazı fakat bu özellik yalnızca mozilla-firefox ile çalışır. internet explorerda borderlar düz gözükür. iyi kodlamalar
ysbostan yazmış: 22.09.2008 saat 12:05
Belirtmeyi unutmuşum teşekkürler
seryak yazmış: 18.10.2008 saat 04:12
Chrome tarayıcısıda aynı şekilde