forked from AkanshaSalwan/practice-pages-for-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2.css
60 lines (51 loc) · 1.04 KB
/
style2.css
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
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 50px;
background: linear-gradient(to bottom right, #f0f0f0, #e0e0e0);
height: 300px;
}
.content {
max-width: 50%;
margin-left: 100px;
}
h1 {
font-size: 2.5em;
background: -webkit-linear-gradient(rgb(197, 80, 232), rgb(92, 124, 210));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
}
.description {
font-size: 1.1em;
color: #333;
margin-bottom: 30px;
}
.view-questions {
display: inline-block;
padding: 10px 20px;
border: 2px solid #a64db4;
border-radius: 25px;
color: #a64db4;
text-decoration: none;
font-size: 1.2em;
}
.view-questions:hover {
background-color: #a64db4;
color: #fff;
}
.image {
max-width: 45%;
margin-right: 200px;
}
.image img {
width: 100%;
height: auto;
}