Cool CSS Effects For Web Designers

Cool CSS Effects For Web Designers


css-cool-effects





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

h1 { text-shadow: #999; 2px, 2px, 4px; }


2. CSS Box Shadows:

           

h1 { text-shadow: #999; 2px, 2px, 4px; }


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:

a:link { position: relative; text -decoration: none; border-bottom: solid 1px; }

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; }

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; }

a:hover:after, a:hover:before { display:block; }


4. BOX Sizing

.element { width: 200px padding: 0 30px; box-sizing: border-box; }


5. CSS Ribbons

css ribbons

h2:before, h2:after { content: “”; position: sbsolute; width: 0; height: 0; }

h2:before { width: 35px; left: -40px; top: 16px; border-width: 34px 15px; border-style: solid; border-color: mediumaquamarine transparent; }

h2:after { left: 0; top: 100%; border-width: 8px 10px; border-style: solid; border-color: #666 #666 transparent transparent; }


6. CSS Speech Bubble

css speech bubble

.speech-bubble { border-radius: 50%; background-image: linear-gradients (#ff8000, #ff9500, #ffaa00); position: relative; }

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

.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; }


7. CSS Multiple Columns

css multiple columns

.example-column ( column-count: 3px; column-width: 75px; column-gap: 20px; column-rule: 1px solid #888; }


8. CSS Stitched Borders

css stitched borders

.stitched { background: #ff5500; border: dashed 3px #222; border-radius: 10px; box-shadow: 0 0 0 10px #ff5500; }


9. CSS Multiple Backgrounds

css multiple backgrounds

.element { background: url(image1.jpg) no-repeat top left, url(image2.jpg) no-repeat bottom right; }


10. CSS No Image Border

a img {border: none;)


11. CSS Shorthand

header { margin: 10px 0px 5px 2px; border: 1px solid #999; font: 36px Arial, Helvetica, sans-serif; )

About The Author

Chandra Kishore Bakshi

Chandra

My name is Chandra Kishore Bakshi and the founder of RedFox Magazine.. Well i mostly like to research and share my experience to web designers and developers. I always try to provide important topics for you to gain knowledge without searching more on internet.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>