hello friends....
TAKE THE FIRST STEP TO KNOWLEDGE FRIENDS BECAUSE KNOWLEDGE IS FREE.
HTML CODE
*******************
<html>
<head>
<meta charset="utf-8">
<title>SLANTED DIV DESIGN</title>
<link rel="stylesheet" type="text/css" href="shape5.css">
</head>
<body>
<div class="thing1">
<img src="pic2.jpg">
</div>
<div class="thing2">
<h2>DNP DEVELOPER</h2>
<p>hi.. i am dhruv patel. i am web developer. i am created differnt effect make by using html & css.</p>
</div>
</body>
</html>
---------- *** ----------
CSS CODE
***************
padding: 0;
margin: 0;
}
.thing1{
height: 450px;
position: relative;
width: 100%;
}
.thing1 img{
width: 100%;
}
.thing2{
background: #fb6b19;
color: #fff;
height: 450px;
padding-top: 130px;
position: relative;
text-align: center;
width: 100%;
}
.thing2 h2{
font-size: 30px;
text-transform: uppercase;
}
.thing2 p{
padding: 0 150px;
}
.thing2:before{
position: absolute;
content: '';
width: 60%;
height: 125px;
top: -50px;
left: 0;
background: #fb6b19;
transform: skewY(10deg);
}
.thing2:after{
position: absolute;
content: '';
width: 60%;
height: 125px;
top: -50px;
right: 0;
background: #fb6b19;
transform: skewY(-10deg);
}
----------***----------
OUTPUT
------------------------------------------------------------------------------------------------------------------------
>> IF YOU LIKE THIS BLOG, PLEASE SHARE AND SUBSCRIBE. ALSO COMMENT FOR THIS BLOG.
>> IF YOU HAVE ANY QUESTIONS PLEASE ASK IN COMMENT.
>> IF YOU WANT TO LEARN C PROGRAM WITH OUTPUT, SO VISIT THIS BLOG
https://dnpdeveloper.blogspot.com/
>> MY INSTAGRAM ID : dnp176
Comments
Post a Comment