Create BoxCTA atom
This commit is contained in:
29
src/style/atoms/_box-cta.scss
Normal file
29
src/style/atoms/_box-cta.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.box-cta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #633185;
|
||||
width: 144px;
|
||||
height: 176px;
|
||||
border-radius: 12px;
|
||||
|
||||
&__content {
|
||||
|
||||
.image {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin: 0 auto;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
color: $color-secondary-light;
|
||||
margin: 28px 20px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user