How to use only CSS to round my div tag area's corners?

后端 未结 6 1421
感情败类
感情败类 2021-02-01 10:24

I use div tags to define areas within my web pages. I set all the obvious things like background, size, padding, etc. But it is all very square.

How can I use

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 10:47

    -moz-border-radius will get you rounded corners in all versions of Firefox. More helpful info at the Sitepoint CSS Reference.

    border-radius will get you rounded corners in Safari 3. More info on border-radius at the CSS 3 Spec.

提交回复
热议问题