-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathangleDiv.html
More file actions
60 lines (55 loc) · 1.71 KB
/
angleDiv.html
File metadata and controls
60 lines (55 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!--https://firestream.org/o2vz8stdjj0hb.html-->
<!DOCTYPE html>
<html > <!--lang="en"--><!--meta charset="UTF-8"-->
<head>
<title>Slanted Div</title>
<style>
body{
margin:0;
background: #262626;
padding: 0;
}
section{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50% , -50%);
height: 400px;
width: 1200px;
background:#000;
box-shadow: 0 25px 30px rgba(0,0,0,5);
display: flex;
}
.container{
width: calc(50% - 50px);
height: 400px;
background:#000;
box-sizing: border-box;
padding: 30px 20px;
font-family: sans serif;
color:aqua;
font-spacing: 3px;
}
.imageCon{
width: calc(50% + 50px);
height: 415px;
background: #f00;
box-sizing: border-box;
border-left: 100px solid black;
border-bottom: 400px solid transparent;
background: url(Esther.jpg);
background-position: -100px -100px;
}
</style>
</head>
<body>
<section>
<div class="container">
<h1>Angled Division</h1>
<p>This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.
This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.This is a new lesson i learnt for th week.</p>
</div>
<div class="imageCon"></div>
</section>
</body>
</html>