Skip to content

css Notes: summary

September 29, 2013

Everything I know about CSS. The inserting of the style, the using of event listeners, the identifying of objects like inputs forms class, and id, and name.

INSERTING CSS TO A WEB PAGE::

Note: the way you put the style for all the objects are the same for all a-c

a.

  1. <head>
  2.        <link href = “folderName/fileName.css” media = “all” rel = “stylesheet” type = “text/css” >
  3. </head

b.

  1. <style>
  2.      body { color:red;}
  3. </style>

c.

  1. <p style=”color:red” > Styled text </p>

WAYS TO IDENTIFY OBJECTS IN CSS::

a. tags

  1. body{  color:red;  }
  2. p{  color:red;  }
  3. a{  color:red;  }
  4. .className{  color:red;  }
  5. #idName{  color:red;  }
  6. INPUT[name=nameInput]{  color:red;  }
  7. FORM[name=nameForm]{  color:red;  }

b. you can also get the objects inside a particular objects. below <a> that are inside <li> that are inside .className are targeted. same with #idName.

  1. .className li a{  color:red;  }
  2. #idName li a{  color:red;  }

LISTENERS IN CSS ::

  1. .className :current {  color:red;   }
  2. .className :link, .className :visited, .className :hover, .className :active {  color:red;  }

shakaboowi!!!

Advertisements

From → CSS

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

TurtleAndRobot.com

Children's Book Reviews

Malav Shah

official Web Site

My Road to Programming

The journey of how I taught myself to program.

paritoshmishra

Look at what's brewing up guys! we all are work in progress. So don't meander, lets micromesh everything and have candid conversation about every problem related to C, C++ and JAVA. We can rejuvenate the crinkled faces.

ProgramThat;

A simple guide to programming...

ITechonology

Information Techonology

Rahul's Work

My Work Tips and Tutorial on Various Tech.

Turnip Farmers

Kingdom Scans

Gigaom

Technology news, trends and analysis covering mobile, big data, cloud, science, energy and media

The Neighborhood

Society online's creative conscious.

HarsH ReaLiTy

A Good Blog is Hard to Find

VentureBeat

News About Tech, Money and Innovation

retireediary

The Diary of a Retiree

50 Year Project

My challenge to visit 192 countries, read 1,001 books, and watch the top 100 movies

[BTW] : Ben Trube, Writer

Writer, Programmer, Singer

My Arch Walkthrough

Arch linux made easy

Don Charisma

because anything is possible with Charisma

SutoCom Solutions

Success & Satisfaction with the Cloud

%d bloggers like this: