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

后端 未结 6 1439
感情败类
感情败类 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条回答
  •  我在风中等你
    2021-02-01 10:45

    There's a tutorial in http://www.sitepoint.com/blogs/2005/08/19/dom-foolery-with-images/ that explains how to set rounded borders in images. Peharps it migth be useful to you since the image is set as the background of a div. Although you will need to use other images and a javascript. The javascript code may be reduced if you use JQuery. o/

提交回复
热议问题