Skip to content

Commit b63870b

Browse files
authored
Merge pull request #693 from viprajtelukoti/overlapblock_images
Fix #35: overlapblock Creator - Web design
2 parents e60e762 + 6d869c5 commit b63870b

File tree

4 files changed

+123
-0
lines changed

4 files changed

+123
-0
lines changed
29.8 KB
Loading
7.1 KB
Loading
7.74 KB
Loading
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<div id="container">
2+
<div id="card-container">
3+
<h1 id="heading">Work & Our Clients</h1>
4+
<p id="description">
5+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
6+
tempor
7+
</p>
8+
<div id="images-container">
9+
<img
10+
src="modules/overlapblock/images_and_icons/image_vipraj_3.jpeg"
11+
alt="work desk 1"
12+
id="image1"
13+
/>
14+
<img
15+
src="modules/overlapblock/images_and_icons/image_vipraj_2.jpeg"
16+
alt="work desk 2"
17+
id="image2"
18+
/>
19+
<img
20+
src="modules/overlapblock/images_and_icons/image_vipraj_1.jpeg"
21+
alt="work desk 3"
22+
id="image3"
23+
/>
24+
</div>
25+
</div>
26+
</div>
27+
28+
<style>
29+
@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap");
30+
31+
#container {
32+
width: 100%;
33+
height: 100%;
34+
display: flex;
35+
justify-content: center;
36+
background: #e0e0e0;
37+
}
38+
39+
#card-container {
40+
background: white;
41+
background-size: cover;
42+
background-repeat: no-repeat;
43+
width: 90%;
44+
height: 90%;
45+
margin: 30px;
46+
color: black;
47+
display: flex;
48+
flex-direction: column;
49+
justify-content: center;
50+
align-items: center;
51+
text-align: center;
52+
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
53+
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
54+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
55+
}
56+
57+
#card-container * {
58+
margin: 30px;
59+
}
60+
61+
#heading {
62+
font-size: 24px;
63+
margin-bottom: 0;
64+
}
65+
66+
#description {
67+
font-size: 12px;
68+
margin-top: 10px;
69+
width: 70%;
70+
}
71+
72+
#images-container {
73+
width: 100%;
74+
display: flex;
75+
text-align: center;
76+
77+
& img {
78+
margin: 0;
79+
}
80+
81+
& #image1{
82+
width: 50%;
83+
}
84+
85+
& #image2{
86+
width: 50%;
87+
}
88+
89+
& #image3{
90+
position: absolute;
91+
width: 50%;
92+
left: 25%;
93+
}
94+
}
95+
96+
@media screen and (max-width: 768px) {
97+
#card-container * {
98+
margin: 10px 15px;
99+
}
100+
101+
#heading {
102+
font-size: 22px;
103+
}
104+
105+
#description {
106+
font-size: 12px;
107+
}
108+
}
109+
110+
@media screen and (max-width: 520px) {
111+
#card-container * {
112+
margin: 10px 15px;
113+
}
114+
115+
#heading1 {
116+
font-size: 18px;
117+
}
118+
119+
#description {
120+
font-size: 10px;
121+
}
122+
}
123+
</style>

0 commit comments

Comments
 (0)