
Learn How to Force a Style
If a style is marked with !important, it will be used with priority even if there’s a overwriting rule below it. .page { background-color:green !important; background-color:blue;} In the example above,

If a style is marked with !important, it will be used with priority even if there’s a overwriting rule below it. .page { background-color:green !important; background-color:blue;} In the example above,

Masking tells your browser which asset elements should be visible, and is very practical for creating attractive shapes and layouts. Masking can be realized in three ways: using SVG elements,

By default, JavaScript script files are loaded synchronously in the page execution and thus are bound to slow down the page. You can asynchronously load the scripts by simply adding

These two selectors often confuse beginners. In CSS, the difference between them is that the class is represented by a dot “.”, while ID is represented by a hash “#”.

Angular’s ngPattern allows you to validate input using a pattern. See below for an easy example of how to validate an e-mail address using the ng-pattern.

To embed interactive content, such as a sound, a movie or an swf file, into your site, you need to use this HTML tag. Upload the wav (or the desired

int start = xml.indexOf(??????)+ ??????.length();int end = xml.indexOf(??????);String name = xml.substring(start, end); This native XML parsing only works with the most simple XML documents. It will most certainly fail if:

Using the Modernizr script, we can check if the browser supports web workers. Please see the JavaScript code below for an example. $(document).ready(function () { if (!Modernizr.webworkers) //there is no

To see the history of pages you have recently visited, you just have to “long” press the back button (left arrow) in your browser. Just click and hold and you