Skip to content

Commit b2219b5

Browse files
issue #91:Added text on image with req. text stye
1 parent 741c327 commit b2219b5

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed
81.2 KB
Loading
Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
<div id="container">
2-
1+
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
32

3+
<div id="container">
44

5-
</div>
6-
5+
<p id="paragraph">
6+
<h3 id="para"><b><strong>We've helped businesses<br>increase their revenue on
7+
<br>average by 90% in their first<br>year with us!</strong></b></h3>
8+
<h3 id="line"><b><strong>Sample text. Click to select the Text Element.</strong></b></h3>
9+
</p>
10+
711
</div>
812

913
<style>
10-
11-
1214
#container {
1315
background-position: center;
1416
background-repeat: no-repeat;
@@ -21,10 +23,30 @@
2123
display: flex;
2224
flex-direction: column;
2325
justify-content: center;
24-
align-items: center;
25-
font-family: 'Roboto Slab', serif;
26+
align-items: baseline;
2627
}
2728

28-
29-
</style>
29+
#paragraph {
30+
margin-left: 100px;
31+
margin-top: 500px;
32+
}
3033

34+
#line {
35+
color: #ffffff;
36+
position: relative;
37+
font-family: Montserrat, sans-serif;
38+
font-weight: 100;
39+
font-size: 1.125rem;
40+
word-wrap: break-word;
41+
position: relative;
42+
margin-left: 80px;
43+
}
44+
45+
#para {
46+
font-family: Montserrat, sans-serif !important;
47+
font-weight: 900;
48+
color: #ffffff;
49+
font-size: 1.875rem;
50+
font-weight: 9;
51+
}
52+
</style>

0 commit comments

Comments
 (0)