-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.css
64 lines (60 loc) · 1.33 KB
/
project.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
61
62
63
64
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins&family=Varela+Round&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Signika+Negative:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans&display=swap");
*{
margin: 0;
padding: 0;
}
.project-container {
display: flex;
justify-content: space-around;
flex-wrap:wrap;
padding: 20px;
margin: 20px 10px;
}
.project-card {
background-color: #f5f5f5;
border-radius: 10px;
margin: 10px;
padding: 20px;
text-align: center;
width: 300px;
transition: transform 0.5s ease;
}
.project-card:hover {
cursor: pointer;
box-shadow: 0 0 15px blue;
transform: scale(1.1);
}
.project-card img {
max-width: 100%;
height: auto;
}
.btn {
display: inline-block;
color: green;
text-decoration: none;
padding: 10px 20px;
border-radius: 5px;
margin-top: 10px;
}
.btn:hover{
background-color: red;
color: black;
}
.phead {
color: black;
}
@media only screen and (max-width: 768px) {
.project-container{
display:flex;
flex-direction:column;
}
.project-card{
width:250px;
margin:10px;
padding:20px;
}
}