Create Speech buble with pure CSS3

Speech bubbles are a popular effect but many tutorials rely on presentational HTML or JavaScript. Nicolas Gallagher has writen tutorial that contains various forms of speech bubble effect created with CSS2.1 and enhanced with CSS3. No images, no JavaScript and it can be applied to your existing semantic HTML.

speech bubbles Create Speech buble with pure CSS3

With HTML as simple as <div>Content</div> or <p>Content</p> you can produce speech bubble effects. The key is to use the :before and/or :after pseudo-elements to produce basic shapes. By applying CSS3 properties such as border-radius and transform you can produce more complex shapes and orientations.

Demo: http://nicolasgallagher.com/progressive-enhancement-pure-css-speech-bubbles/

Incoming search terms for the article:

Related Posts

css logo

Create a Slick Menu Using CSS3

css logo

Creating an Accordion Image Gallery with Only CSS

1

Creating A Cool Animated Pixel Font With CSS3

1

Create a CSS3 Rotating Menu

1 Comment

  1. Atul Kash

    03.22.2010

    Good Job! I love the bubbles will definitely be using it in my future projects. Thanks