易截截图软件、单文件、免安装、纯绿色、仅160KB

CSS实现圆角的 25 种技巧分享

原文地址:http://www.devwebpro.com/25-rounded-corners-techniques-with-css/
* This post is regularly updated. *
Rounded corners is one of the most popular and frequently requested
CSS techniques even the father of internet Google
also launch the rounded corners style markup
with her Google Adsense
and let users to custom their ads recently. Actually, there are a lot
of methods and techniques to create rounded corners with Cascading
Stylesheets. Some are quite simple just need pure CSS, and a part of
them need 2 to 4 background corner images and Javascript. So i select
some quality and usable rounded corners with CSS techniques for you to
have the best choices.
Note:
Here are some additional related
articles on DevWebPro you should also take a look at:
- Advantages of Using Corners Without Images
- Smooth Your Design and Round Those Corners!
- Rounded Corners Using CSS
Techniques
ThrashBox – create rounded-corner boxes with visual flare and the
absolute minimal amount of semantically correct markup.
Even More Rounded Corners With CSS – nice technique with fluid
rounded corner dialogs and support for borders, alpha transparency
throughout, gradients and patterns.
DomCorners – a very simple technique for getting rounded corners.
virtuelvis.com Rounded corners in CSS – allow you to retrofit this to
existing designs without altering any markup.
Transparent custom corners and borders version 2 – a technique for
creating custom corners and borders with optional alpha transparency.
CSS Teaser Box with rounded corners – by Roger Johansson, the same
author of Transparent custom corners and borders version 2.
News List – was designed to display links to recent news.
CSS Liquid Round Corners – a re-usable rounded box, note that it
needs total 6 images for wrap the corners.
Anti-aliased Nifty Corners – based on Nifty Corners and modified by
Steven Wittens.
Simple Box by te


相关文档:

页面元素居中 css获取页面中心位置

css获取页面中心位置
.fixed
{
FONT-SIZE: 30pt;
color : #1A6841;
left:expression(eval(document.body.clientWidth)/2-150);
top:expression(eval(document.body.clientHeight)/2-25);
width:300px;
height:50px;
border:green 1px solid;
background:#99CCFF;
+position:absolute;
+left:expression(ev ......

CSS中的margin与padding有什么区别呢

margin 外边距
border 边框
padding 内边距
也就是说 设置margin 那么他所占据的空白地方会是在边框外面
设置padding 他所占据的空白地方是在边框里面
而且在IE6 一下的版本中 存在这padding 计算错误的BUG
CSS 的宽度属性本来是不包含padding的 但是 在ie下面有的时候宽度是包含padding 所以 建议在不熟悉CSS 在定位 ......

CSS公用文件

由于各浏览器的默认CSS样式不一样,我们必须写一个CSS Reset统一起来。
通常我的做法是在common.css里写全局控制,这里面也包括header和footer,其它CSS文件就通过@import url(”common.css”);引用。
body{padding:10px;margin:0;background:#fff;font-size:12px;line-height:14px;color:#333;font-family:Ari ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号