Skip to main content

Display LayOut Part 1 | set Layout using CSS




Display LayOut Part 1 | set Layout using CSS
Display LayOut Part 1 | set Layout using CSS 







Hello Guys,
Kaise hai aap, Source of Display Lay out is here :-
In HTML


<DOCTYPE html>

<html>

<head>

<title>

Display Layout

</title>
<link rel="stylesheet" href="Display.css">
</head>
<body>
<div class="p">
 <p>This Paragraph under Inline Block</p>
</div>
<br/>
<br/>
<br/>
<div class="p1" >
<p> This is Paragraph</p>
</div>
<br/>
<div class="p2">
<p> This is Paragraph</p>
</div>
<br/>
<br/>
<div class="p3">
<p> This is Paragraph</p>
</div>
<div class="grid" >
<div class="box a">A</div>
<div class="box b">B</div>
<div class="box c">C</div>
<div class="box d">D</div>
<div class="box e">E</div>
<div class="box f">F</div>
<div class="box g">G</div>
<div class="box h">H</div>
<div class="box i">I</div>
</div>
</body>
<html>



In CSS


body

{

 font: absolute;

 

}

.p

{

 display: inline;

 background:gray;

 

 font-size: 25px;

 padding:5px;

 left:50px;

 

 

}

.p1

{

 display:block;

 background:yellow;

 font-size:25px;

 padding:5px;

 left:50px;

 

}

.p2

{

 display:inline-block;

 margin-left:200px;

 border:6px dotted #949599;

 height:100px;

 width:300px;

 

 font-size:25px;

 left:30px;

 padding:20px;

 left:50px;

}

.p3

{

 display:none;

 background:yellow;

 font-size:25px;

 padding:5px;

 left:50px;

}

.grid

{

 display: grid;

 grid-template-columns: 100px 100px 100px;

 grid-gap:10px;

 background:;

 

 font-size: 25px;

 padding:5px;

 left:50px;

 

 

}

.Box

{

 Background-color: #444;

 color:#fff;

 border-radius:5px;

 padding:20px;

 font-size:150%;

 

}


Comments

Popular posts from this blog

HTML Tutorial Day 2| HTML 5 Tags |

Namaskar Dosto, Mera nam h Sameer Mansoori or aap dekh rahe h, Technical School ( Unlimited Ultimate ). Aj m apko btaunga kuj apne HTML Syllabus k bare m jo hm sikhnge or sth hi hum kuj tags strt v krnge to chaliye krte h. Strt krne s phle m apse rqst krta hu k mera video pura dekhe qki isme bich m kafi kuj smjaunga isi k sth hm dekhe h.. Find Video on Youtube = "TS00002" "#TS00002" "TS0000" "Technical School" "#Technical School" Follow on Instagram Follow on Facebook = Join Whatsapp Group = Add Us Snapchat = Email :- helptechnicalschool@gmail. com

Special Independence Day Edition Wth HTML CSS

Special From Technical School     Namashkar Dosto, Mera naam hai Sameer Mansoori Aur apka 1 bar fir se swagat hai hamare is channel Technical School ( Unlimited Ultimate ) per. Friends aj hm kuj alag yha sikhne wale hai are nahi nahi aap esa mt sochiye ke hum technical se alag htkr kuj krne wale hai. Actually Tuesday ko 15 August 2017 / yani independence mtlb apna azadi ka din hai to usi k usi k hisab se aj hum yha kuj krne wale hai isme alag bat y k aj tk apne jyadater videos ya images hi dekhe honge ya fir khud s click kiye hone Aj hum kuj technical style m apna swatntrata divas mnaenge aur esa hi kuj bnane wale hai to chaliye start krte hai..... Friends yha per mene video link bhi diya hua hai youtube ka to aap wha jakr bhi dekh sakte hai aur main yha aapko source code bhi provide kra dunga to aap us ke through try kar skte hai. Basically friends maine jo apna channel start kiya aur ye blog jo abhi tk mene complete nhi kiya actually thora time ka probl...