CSS - Cascading Style Sheets

CSS3 3D effect, Shine text with css3 keyframe animation, Scrolling Page Background with jQuery – Happy New Year

On the occasion of New Year 2013, I thought to wish this festival by creating a nice webpage greeting. So, today I created this greeting card using 3D  and shining text effect with the help of CSS3, and scrolling background with JavaScript. I hope you all will enjoy this holiday as well as my web-card too  . Introduction Greeting, today we are going to make a scrolling background effect. This script will move the background of any html tag, either vertically or horizontally. I used this script in one of my greeting card too which has a blue sky with clouds and it makes the…
Continue Reading »
CSS - Cascading Style Sheets

CSS3 Buttons with Cool Effects – Pure CSS

Nowadays, using subtle patterns is kinda cool so I thought why not using them also on buttons? The idea was to create some nice CSS3 patterned buttons and in this article you'll see what I've been working on lately. I wrote before about CSS3 buttons, so you may want to check also these articles: CSS3 Transitions Effects on Background Gradients Create Icons in CSS Without Image Hover and Click Trigger For CIRCULAR Elements With jQuery CSS3 patterned buttons features Easy-to-use. Contain the transitions on gradients hack. As you may have expected, no images used here. Instead, an base64 string is used to…
Continue Reading »
CSS - Cascading Style Sheets

Hover and Click Trigger For CIRCULAR Elements With jQuery

Today we want to share one possible solution to the circle hovering problem. We'll create a plugin that will take care of the 'mouseenter', 'mouseleave' and 'click' events to be triggered only on the circular shape of the element and not its bounding box. Applying a :hover pseudo-class to an element is widely known as the classic "hovering" over an element on a web page. A problem that arose with the introduction of the border-radius property is the non-realistic triggering of the hover event when entering the bounding box of the element and not just the actual visible area. This…
Continue Reading »
CSS - Cascading Style Sheets

Animated 3D Bouncing Ball with CSS3, Html5

Hi guys! Today we are going to see another great example of how to use the power of CSS3. We will start by creating a very cool and realistic 3D ball with pure CSS3 properties, and add a little CSS3 animations for giving the ball a "bouncing" effect. Please note: the result of this tutorial will only work as intended in browsers that support the respective CSS properties (gradient, shadow, border-radius, keyframe animation). THE HTML Let's start with some very basic HTML: <div id="ballWrapper">      <div id="ball"></div>      <div id="ballShadow"></div> </div> What we have here are 3 simple DIV elements. "#ballWrapper"…
Continue Reading »
CSS - Cascading Style Sheets

Random 3D Explosions, 3D clouds – Effects with CSS 3D and jQuery

Introduction This tutorial will try to guide you through the steps to create a 3D-like, explosions in sky or billboard-based clouds. There are a few advanced topics, mainly how 3D transformations via CSS properties work. If you want to find more information, this is a nice place to begin. If you're in a hurry, just check the final result. The tutorial is divided into sections, each with a different step to understand and follow the process, with HTML, CSS and Javascript blocks. Each step is based on the previous one, and has a link to test the code. The code in the…
Continue Reading »
CSS - Cascading Style Sheets

CSS3 Transitions Effects on Background Gradients

CSS transitions do not have any effect on background gradients. As far as I know, the thing is that something similar would be quite difficult to achieve considering the multitude of possible gradients that can be created using a color palette. Though, there are some simple ways you can simulate smooth transitions on gradients and below you'll see how to do that. Before writing this article, I was thinking this new article will hopefully be more useful to you as It contains one more extra technique that can help you faking transitions on background gradients. So, what is this about…
Continue Reading »
CSS - Cascading Style Sheets

Creating CSS Starbursts Design with CSS3 Transform

Working with the new CSS3 rotation property I got that I could create image free starbursts. All I needed was a series of nested block-level elements each rotated by a slightly different amount. The rotation would distribute the box corners around the circumference of the star. About these CSS3 Starbursts: A good thing is if you create your starbursts with CSS3 you can do so much more than with images. You can experiment with different numbers of points/corners, rounded borders, resize, text-shadows and animations also. To see the animations you will need to use latest browsers like IE 9+, Firefox…
Continue Reading »
CSS - Cascading Style Sheets

Hot Tea / Coffee with Animated Smoke Effect – jQuery & CSS

This effect has been created with some cool jQuery animation effect. For Smoke effect I have used a png transparent image. I have already updated this for IE too. As we already know transparency of png creates some bad side-effects on IE (png transparency bugs in IE). You can check the demo code and see how it's done. Basically, the Javascript function creates some div with smoke background in random positions.  so, the effect looks more random even though it's totally deterministic. Each smoke moves in the Y axis with a linear function and fade with a cosine function. Pretty simple…
Continue Reading »
CSS - Cascading Style Sheets

Cool Animated Fire Effects with CSS3 and jQuery

This effect has been created with some jQuery for setting different CSS3 text-shadow's in a div. You can check the demo code to see how it's done. Basically, the Javascript function creates 3 text-shadows (white, yellow and red) with coprime "cycle durations" so the effect looks more random even though it's totally deterministic. Each shadow moves in the Y axis with a linear function and in the X axis with a cosine function. Pretty simple, but effective. The CSS #onfire{ height:auto; padding-top:3em; font-size: 42px; font-weight: bold; text-align: center; color:brown; } The jQuery <script type="text/javascript"> var step = 1; function nextShadow(){…
Continue Reading »
CSS - Cascading Style Sheets

Animated Notification bubble icon with CSS3 keyframe animation

The other day, while working on a web project, I had to emphasize somehow a dynamic notification bubble. Basically, every time the notification value changes, a visual effect was needed in order to get user's attention. So I made that using CSS3 keyframe animation. The HTML For this example, we'll borrow the markup structure and look from my CSS3 dropdown menu. <ul> <li><a href="">Dashboard</a></li> <li><a href="">Friends</a></li> <li> <a href="">Message <span>9</span> </a> </li> <li><a href="">Games</a></li> <li><a href="">Settings</a></li> </ul> The focus will be on the <span>, which is the notification bubble that will be animated. The CSS The .animating class represents an CSS3 animation that uses…
Continue Reading »