Categories
Background CSS

CSS background shorthand property

The background shorthand property is a method to specify the values of multiple CSS background properties all together. Shorthand properties is a CSS property that allow you set all values together. Using a shorthand property, you can write more accute style sheets.

Categories
CSS

Disable text selection highlighting using CSS

To disable/prevent text selection in your pages you can use CSS user-select property. By using this property you can specifies whether the text of an element can be selected or not.

Categories
Iframe Jquery

Make iframe automatically adjust height according to the contents in it using javascript (Support Cross-Domain)

In some pages in your application you may need to feed content form other domain or other pages from same domain using iFrame . We normally set width and height for the iFrame so if the content is bigger than iFrame, scroll will appear automatically. Here is the JavaScript that can fix height dynamically using window.postmessage() method.

Categories
Background CSS

Background Image Change on every 5sec using css3

For those who looking to change background image on every 5sec or some period of time this post will be very useful. In the past we have done this using some scripts like jquery, now you can do this with few lines of CSS3.

Categories
Background CSS Jquery

Background Image Change on every 5sec using Jquery

In this article, will show you how to change background image on some period of time . So here is the tutorial to apply this kind of effect to your web project. You can achieve it in few lines of jquery. Use it and make  your website more beautiful.