圆角 [英] Rounded Corners

查看:86
本文介绍了圆角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

重复:

创建圆角的最佳方法是什么

如何制作跨浏览器,W3C有效,语义,非JavaScript圆角?



有什么技术(符合标准)在HTML页面中显示元素?



我将HTML CSS和javascript放在标签列表下面,因为我相信它们是相当普遍的,但如果你有一个技术使用其他

解决方案

>

CSS3有一个border-radius标签和box-shadow标签,但它们只能在Mozilla和Safari中实现。



http://www.css3.info/preview/rounded-border/



除此之外,我所做的是创建图像并加载那些使用CSS和DIV标签。这个链接是我开始使用的。



http://www.cssjuice.com/25-rounded-corners-techniques-with-css/



祝你好运!


Duplicate:
What is the best way to create rounded corners
How to make a cross browser, W3C valid, semantic, non-javascript ROUND corner?

What techniques (That are standards compliant) are there for putting rounded corners on display elements in an HTML page?

I put HTML CSS and javascript on the tag list below because I believe they are fairly ubiquitous, but if you have a technique that uses other techniques that may be used and are (relatively) reliable across standard browsers that works as well, but please put a note on what browsers fail.

解决方案

CSS3 has a border-radius tag and box-shadow tag, but they are only implemented in Mozilla and Safari I think. You can round corners and create shadow very easily using that.

http://www.css3.info/preview/rounded-border/

Other then that, what I do is create images and load those using CSS and DIV tags. This link is what I used to get started.

http://www.cssjuice.com/25-rounded-corners-techniques-with-css/

Good luck!

这篇关于圆角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆