Vertical Align Text in a DIV Element Using CSS

In the course of your web design projects, you may come across a situation where you are required to show several lines of text inside a div element. You may also need these lines of text to be centered horizontally. For most of the part, using text-align:center inside the parent div willdo the trick. However,… Read More »

Amazing CSS Opacity Transitions

In this tutorial, we are going to take a look at the pretty effects CSS transitions using the opacity feature. For the purpose of this tutorial, we will be transitioning an image with the opacity to make it appear. There is nothing much that we will be doing apart from that but you can definitely… Read More »

How to Add CSS Style Using jQuery Dynamically

With jQuery, it is possible to do some interesting CSS tricks such as changing the style of your site dynamically. Let’s say for instance you with to have a certain style applied to your site when a number of conditions are met.You can do all that in jQuery when constructing the site. In case you… Read More »

How to Use CSS Negative Margin

Of all the cool elegant features in CSS, negative margins is the coolest of them all. Almost everyone is doing it for their web projects and it is absolutely fantastic. Just to set a few things right before we begin, margins are the spaces on the outside of an element while padding is the space… Read More »