.button {
&--sm {
height: $btn-size-sm;
padding: 0 rem(20);
font-size: $btn-size-sm-fn;
line-height: $btn-size-sm - rem(2);
}
&--xs {
height: $btn-size-xs;
padding: 0 rem(20);
font-size: $btn-size-xs-fn;
line-height: $btn-size-xs - rem(2);
}
&--full {
width: 100% !important;
}
&--s150 {
min-width: rem(150) !important;
}
&--s220 {
width: rem(220) !important;
}
html {
font-family: $font-family-primary;
font-size: 16px;
font-weight: normal;
text-align: left;
line-height: normal;
letter-spacing: normal;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
@media (max-width: 992px) {
font-size: 15px;
}
@media (max-width: 760px) {
font-size: 14px;
}
@media (max-width: 380px) {
font-size: 13px;
}
}
<div class="main_right right-block">
<img src="https://startly.web3templates.com/demo/software/images/screen2.jpg" alt="">
</div>
.main-container {
display: flex;
justify-content: space-between;
margin-top: 100px;
box-sizing: border-box;
}
.main_left {
width: 40%;
}
.main_right {
width: 50%;
}
.main_right img {
width: 100%;
heiht: auto;
}
flex-wrap:wrap;
flex-direction:row;
judtify-content:space-between;
>display: flex;
justify-content: space-between;
align-items: center;
.btn a{
color: #ffffff;
text-decoration: none;
}
btn {
border: 0px solid #000000;
width: 160px;
color: #ffffff; /* The color of text in button - WHY DOESN'T IT WORK?*/
text-decoration: none; /* The link style in button - WHY DOESN'T IT WORK?*/
background: #FBD840;
padding: 12px;
text-align: center;
margin-bottom: 30px;
border-radius: 3px;
box-shadow: 0px 3px 15px 3px rgba(249,219,91,0.4);
cursor: pointer;
.btn{...}
button{...}