-
Notifications
You must be signed in to change notification settings - Fork 0
/
cards.css
79 lines (79 loc) · 1.64 KB
/
cards.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
html, body{
margin: 0;
padding: 0;
font-family: lato, Roboto, sans-serif;
}
.container{
width: 90%;
margin-left: auto;
margin-right: auto;
float: none;
clear: both;
}
div.card{
border: 0px solid red;
border-radius: 100%;
width: 400px;
height: 400px;
display: inline-block;
position: relative;
margin: 3%;
}
div.card:nth-child(1){
background: url("https://picsum.photos/500");
}
div.card:nth-child(2){
background: url("https://picsum.photos/501");
}
div.card:nth-child(3){
background: url("https://picsum.photos/502");
}
div.card:nth-child(4){
background: url("https://picsum.photos/503");
}
div.card:nth-child(5){
background: url("https://picsum.photos/420");
}
div.card:nth-child(6){
background: url("https://picsum.photos/430");
}
.background{
text-align: right;
border-color: none;
border-radius: 100%;
position: absolute;
display: inline-block;
width: 400px;
height: 400px;
}
.b1{
background-image: linear-gradient(to right, rgba(0,0,0,.0) 50%, dodgerblue 50%);
}
.b2{
background-image: linear-gradient(to right, rgba(0,0,0,.0) 50%, gold 50%);
}
.b3{
background-image: linear-gradient(to right, rgba(0,0,0,.0) 50%, #438D80 50%);
}
.b4{
background-image: linear-gradient(to right, rgba(0,0,0,.0) 50%, #5EFB6E 50%);
}
.b5{
background-image: linear-gradient(to right, rgba(0,0,0,.0) 50%, #FF2400 50%);
}
.b6{
background-image: linear-gradient(to right, rgba(0,0,0,.0) 50%, #571B7E 50%);
}
span.text{
font-size: .9em;
display: inline-block;
text-align: left;
padding-left: 54%;
vertical-align: middle;
}
span h3{
padding-top: 25%;
}
span p{
padding-right: 20%;
}