Author 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

HTML5 – building offline applications

HTML5 – building offline applications In this article we will explore HTML5 offline applications. What are HTML5 offline applications? For a typical web application we need connectivity. Webpage is server to the user, user does something and interact with the site or page and further requests or round trips to and from the server to

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 [crayon-59c3f843efa9b146697936/] In

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 [crayon-59c3f843f0200753517203/] Select element containing the named attribute. [crayon-59c3f843f020b998257251/] The

css3 selectors

css3 selectors In this articles we are going to discuss css3 selectors.  Consider following code snippet. [crayon-59c3f843f0d4d029115395/] We can select elements with three types of element selectors. [crayon-59c3f843f0d57283836843/] Relational Selectors Suppose following selector. This is called descendant selector [crayon-59c3f843f0d5e426487923/] The above expression means any il is descendant of ol and it matches any nested li’s.

Lists in Python

Lists in Python Python has a very versatile data type available that are lists. Lists can be written as comma separated values inside square brackets. As in many other languages python lists can not be of same data type e.g integers or string or floating points. Suppose following code to create a list. [crayon-59c3f843f1694276497304/] To

Git essential commands

Git essential commands In this article we will explore git and some important commands to use Git.  As you know Git is used for version control. There are some commands that are used by developers on daily basis while committing.  Here are some useful Git commands. Make  Changes Initializing a git repository. (To create a

jQuery tricks for DOM Manipulation

jQuery tricks for DOM Manipulation In this article we will explore jQuery’s methods that help a web developer in their daily work. 1. Changing attributes with jQuery We can change HTML DOM elements like Divs,  Lists, form elements etc ‘s attributes using jQuery very easily. addClass                       We can use add class to each set of

HTML5 – How to access and take picture using Camera API

HTML5 – How to access and take picture using Camera API HTML5 has introduced some great features and APIs.  One of the APIs is  getUserMedia API. This API provide access to the Camera. To make this API work we have to do simple JavaScript with HTML5. Here is a simple HTML5 code structure that you

HTML5 translate and download attribute for href

HTML5 translate and download attribute for href In previous article on HTML5 new elements  we discussed HTML5 details and summary elements. In this article we will discuss HTML5 translate and download attribute for href. These are new attributes. HTML5 Translate Attribute HTML5 introduces a new attribute “translate”.  This attribute is used to restrict the impact