How to code certain css shapes?

前端 未结 5 2224
后悔当初
后悔当初 2021-02-09 10:10

I am trying to make the shape below in CSS. Any ideas how to do this? Or know a tutorial site that can help? I am talking about the tag like shapes that are yellow.

5条回答
  •  独厮守ぢ
    2021-02-09 10:44

    The second part of your question is easy: border-radius: 0 0 5px 5px, just replace the 5s with whatever value you wish. The first part, although technically possible with CSS, is better achieved with a background image.

    EDIT: Here is a rough version of your tag in CSS to get you started if you really want to give it a shot. http://jsfiddle.net/hsuF3/

提交回复
热议问题