CSS Archive

How to work with gradients in CSS3

How to work with gradients in CSS3 CSS3 gradients are used to display smooth transitions between two or more colors. Images were used earlier to display effects, but now in CSS3 we can use gradients. Gradients  save bandwidth and load time. In a previous tutorial you learned about CSS3 Pseudo classes. In this tutorial we

css3 UI pseudo classes

css3 UI pseudo classes In previous article we looked in to the css3 attribute selectors , and in this article we will explore css3 UI pseudo classes, We can select elements based on selectors and attributes but we can also select  elements based on element’s Current State. For Example :enabled :disabled :checked Example <style> <input[type

css3 attribute selectors

css3 attribute selectors In previous article in this series we looked in to css selectors. HTML elements can have attributes and in CSS3 we can use these attributes to select elements.  The [attribute] in an  element is used to select elements with a specific element. So element[attribute] Select element containing the named attribute. img[alt] The

css3 selectors

css3 selectors In this articles we are going to discuss css3 selectors.  Consider following code snippet. <ul> <li id="myID" class= 'myClass'>item 1</li> <li class="myclass">item 2</li> <li>item 3</li> </ul> We can select elements with three types of element selectors. #myID /* Using ID */ .myClass /* Using class name */ li /* Using tag name */

Introduction of Web and PHP & Mysql part 1

Introduction of Web and PHP & Mysql In this series of articles we will look into basics of world wide web (commonly know as WWW) and then Php & Mysql. We will work on real world examples and APIs. So let us start. Before diving into world of web development we need to know some

CSS – Breaking long words wrap onto the next line

CSS has a property named word wrap and it can be used as follows. .wrap { word-wrap:break-word; }