Posts Tagged: "cool css effects"

Cool CSS Effects For Web Designers

- - Tutorials

Cool CSS Effects helps a designer to discover presentation via content when making a web site. It is good for describing website content like paragraph copy, but HTML is not the most stylish in look. There’s lots of situations when using HTML which a designer cannot try to make website content stunning on the site.

In this article we providing CSS Background Effects, CSS Rounded Corners, CSS Text Shadows, CSS Box Shadows With Glow Effects, CSS Tooltips, CSS Box Sizing, CSS 3D Animated Transforms, CSS Ribbons, CSS Speech Bubble and many other more… So lets start with the coding with screenshot.

1. CSS Text Shadows

[note color="#FFCC00"]h1 { text-shadow: #999; 2px, 2px, 4px; }[/note]

2. CSS Box Shadows:

           [note color="#ffcf00"]h1 { text-shadow: #999; 2px, 2px, 4px; }[/note]

3. CSS Tooltips

HTML Part:

<p>Lorem Ipsum is simply dummy text of the <!– <a href=”#” data-tooltip=”This is the demo tooltip”> –> printing and typesetting industry</a>. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>

CSS Part:

[note color="#FFCC00"]a:link { position: relative; text -decoration: none; border-bottom: solid 1px; }[/note]

[note color="#FFCC00"]a:before { content: “”; position: absolute; border-top: 22px solid #0090ff; border-left: 33px solid transparent; border-right: 33px solid transparent; display: none; top: -18px; left: -26px; }[/note]

[note color="#FFCC00"]a:after { content: attr(data-tooltip); position: absolute; color: white; top: -35px; left: -26px; background: #0090ff; padding: 5px 15px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 12px; white-space: nowrap; display:none; }[/note]

[note color="#FFCC00"]a:hover:after, a:hover:before { display:block; }[/note]

4. BOX Sizing

[note color="#FFCC00"].element { width: 200px padding: 0 30px; box-sizing: border-box; }[/note]

5. CSS Ribbons

css ribbons

[note color="#FFCC00"]h2:before, h2:after { content: “”; position: sbsolute; width: 0; height: 0; }[/note]

[note color="#FFCC00"]h2:before { width: 35px; left: -40px; top: 16px; border-width: 34px 15px; border-style: solid; border-color: mediumaquamarine transparent; }[/note]

[note color="#FFCC00"]h2:after { left: 0; top: 100%; border-width: 8px 10px; border-style: solid; border-color: #666 #666 transparent transparent; }[/note]

6. CSS Speech Bubble

css speech bubble

[note color="#f5daa3"].speech-bubble { border-radius: 50%; background-image: linear-gradients (#ff8000, #ff9500, #ffaa00); position: relative; }[/note]

[note color="#f5daa3"].speech-bubble:before { content: “”; display: block; width: 20px; height: 20px; border-radius: 50%; position: absolute; background-image: linear-gradients (#ff8000, #ff8900, #ffaa00); bottom: -3px; }[/note]

[note color="#f5daa3"].speech-bubble:after { content: “”; display: block; width: 14px height: 14px; border-radius: 50%; position: absolute; background-image: linear-gradients (#ff8000, #ff8900, #ffaa00); bottom: -20px; left: 20px; }[/note]

7. CSS Multiple Columns

css multiple columns

[note color="#f5daa3"].example-column ( column-count: 3px; column-width: 75px; column-gap: 20px; column-rule: 1px solid #888; }[/note]

8. CSS Stitched Borders

css stitched borders

[note color="#f5daa3"].stitched { background: #ff5500; border: dashed 3px #222; border-radius: 10px; box-shadow: 0 0 0 10px #ff5500; }[/note]

9. CSS Multiple Backgrounds

css multiple backgrounds

[note color="#f5daa3"].element { background: url(image1.jpg) no-repeat top left, url(image2.jpg) no-repeat bottom right; }[/note]

10. CSS No Image Border

[note color="#f5daa3"]a img {border: none;)[/note]

11. CSS Shorthand

[note color="#f5daa3"]header { margin: 10px 0px 5px 2px; border: 1px solid #999; font: 36px Arial, Helvetica, sans-serif; )[/note]