How to code certain css shapes?


Tags: html,css

Problem :

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.

enter image description here

Also secondly does anyone know how to make a shape with css that is a square/rectangle that has two rounded edges at the bottom but right angled corners at the top?

Thanks!

James



Solution :

Yes; you can do this with pure CSS & with gradient also.

Check this http://jsfiddle.net/9EEEP/3/

with border & circle http://jsfiddle.net/9EEEP/2/

you can adjust the css as per your requirement like this http://jsfiddle.net/9EEEP/5/


    CSS Howto..

    How to hide text present inside search box?

    How to make a custom checkbox and radio button in pure css?

    show/hide slider toggle for any number of IDs

    How to force margins to be ready from js before document ready

    How to change the CSS of Background Element?

    How to create a pure css slideshow? [closed]

    How to wait for resources to be loaded

    How to select all a pseudo-classes in CSS?

    How to display a box of color beside a table row using CSS?

    how to apply CSS for @Html.DisplayFor?

    How can mono social icon work without a class per icon?

    GWT- SingleSelectionModel celltable- how to change selected cell's CSS?

    How to call am (image) div inside of a list?

    How to use CSS to create a particular stylized, multi-lined text box?

    CSS + Bootstrap: How to dynamically stretch subdiv width to fit container (with image)?

    How to align Navbar at bottom of window, but have content under this in CSS?

    How to break a word with two 50% table cells?

    How to sort and combine this css rules so it doesn't repeat so much?

    How to redefine CSS classes with Javascript

    How can I make a filter like this? [closed]

    creating a slide show for home page in my web site [closed]

    How to create CSS-based (big) quotation marks?

    how to move css element with scrolling left with Jquery?

    How to center a span element in CSS? [closed]

    How do I preload non-hardcoded background images with jQuery?

    How to get parent DIV width and set child DIV width

    how to do external scripting?

    CSS - How to make IE7 respect min-width

    How to style my HTML form using CSS

    How can i increase the round corner button width dynamically depends on the text size in CSS?