Profile Picture
IT Made Easy
The site provides some rough IT Notes that make your life easier. The site currently has notes on HTML, CSS, Regex, OOPS, JS, JQuery, PHP, Java, ASP.NET, C#, Database, Linux, URL Rewrite, SEO, Project Management and Hosting. Please do share this site if you like.

General

Next
Next
  • display: none takes the element completely out of play, where as visibility: hidden keeps the element and its flow in place without visually representing its contents ( a gap is kept for the element, say in case of a div)
  • block elements puts a line break before and after the element
  • Pseudo classes :   selector: pseudo class { property: value; } E.g.: link, visited, active, hover
  • Pseudo element : (IE does not support) selector:pseudo element { property: value; } E.g.: first-letter, first-line, before, after
  • If the selectors are the same then the latest one will always take precedence
  • The more specific a selector, the more preference it will be given when it comes to conflicting styles.
  • You give every id selector ("#whatever") a value of 100, every class selector (".whatever") a value of 10 and every HTML selector ("whatever") a value of 1
  • @ At-rules are instructions or directives to the CSS parser. We have given some examples below.

The @charset at-rule can be used to specify the character encoding of an external style sheet. It must appear before anything else in the file.

The @import at-rule allows us to import one style sheet into another. All @import at-rules must appear before any rules.

IT Notes

by VinodSebastian



IT Downloads


Catalogue