What is CCS and CCS type

 CCS


  • CSS is a Language That Describes The style Of an HTML Document
  • CSS Describes How HTML Element Should Be Displayed Is A Simple Designed Language To Simplify The process Of making Web Page Presentable. CSS Allows You To Apply Styles To Web page More Importantly ,CSS enables You to Do This independent Of The HTML that Makes Up Each Web Page..

Types Of CSS (Cascading Style Sheet)

  • There Are Three Types Of CSS which Are Given Below:
  • Inlice CSS
  • Internal Or Embedded CSS
  • External CSS

External CSS 

External CSS Contains Separate CSS File Which Contains Only Style Property With Tha Help Of tag attributes ( For Example Class, I'd , Heading, etc) CSS Property Written In A Separate File With ,CSS Extension And Should  Be linked to the HTML Document Using link Tag This Mean That For Each Element Style Can Be Set Only Once And that will Be applied Across Web Pages.

• Example :-  The File Given Below Contains CSS Property This File Save With CSS Extension..

The Difference between ID And Class 

The Difference Between an Ud And A Class is That An Id Can Be Used To Identify One Element Whereas A Class Can Be Used To identify More the one.

iD'S Are Unique 

• Each Element Fan Have Only One ID 
• Each Page Can Have Only One Element With That ID

Classes Are Not Unique 

• you can Use the Same Class on Multiple Elements you Can Use Multiple Classes On The Same Elements 

CSS BACKGROUNDS



CSS BACKGROUND - REPEAT:NO- REPEAT 

•  Showing The Background Image Only Once is Also Specified By The Background - Repeat Property..
                        
 
CSS BACKGROUND REPEAT 

• By Default, the background-image property Repeats an image both horizontally and vertically.
• Some Images should be Repeated Only Horizontal ly Or vertically, or They Will Look strange like this.

CSS BACKGROUND - POSITION 

• The Background - position property is Used To specify The position Of The Background Image


 
CSS BACKGROUND - ATTACHMENT 

• The background - attachment property specifies Whether The Background Image Should Score or be Fixed (will Not Scrocl With The Rest Of The Page )



Comments

Popular posts from this blog

DBMS Architecture & Models || DBMS Tier Architecture

Database Design And ER Diagram || Entity And Attributes

System Analysis and Design Notes | Easy Explanation for Students