.account__file {
width: 230px;
padding: 0 20px;
padding-top: 75px;
border: 2px dashed #8eb9f5;
border-radius: 15px;
}
<div class="account__file">
<svg xmlns="http://www.w3.org/2000/svg" with="100%" height="100%" class="border">
<rect x="0" y="0" rx="30" width="100%" height="100%" class="border-rect" />
</svg>
<input type="file" name="file" id="file" />
<label for="file">
<span class="account__subtitle">drag & drop</span>
<div class="account__text">
<p>Upload only png, jpg, jpeg</p>
</div>
</label>
</div>
.border {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.border-rect {
stroke: #8eb9f5;
fill: #fff;
stroke-width: 1;
stroke-dasharray: 20;
}
$(document).ready(function() {
let slider = $('.gallery__wrap');
slider.slick({
slidesToShow: 1,
slidesToScroll: 1,
dots: false,
centerMode: true,
centerPadding: '500px',
arrows: true,
appendArrows: $('.gallery__arrows'),
prevArrow: '<button class="gallery__arrow gallery__arrow--dir_left"></div>',
nextArrow: '<button class="gallery__arrow gallery__arrow--dir_right"></button>',
dots: true,
appendDots: $('.gallery__dots'),
customPaging : function(slider, i) {
return '0' + (i + 1);
},
dotsClass: 'gallery__dots-list',
responsive: [
{
breakpoint: 1430,
settings: {
centerPadding: '200px',
}
},
{
breakpoint: 960,
settings: {
centerPadding: '100px',
}
},
{
breakpoint: 780,
settings: {
centerPadding: '0px',
centerMode: false,
}
}
]
});
});
function slideGo(dir) {
let slider = $('.gallery__wrap');
if(dir === "+") {
slider.slick('slickNext');
} else if ( dir === "-" ) {
slider.slick('slickPrev');
}
}
background: rgb(250,250,255);
background: linear-gradient(180deg, rgba(250,250,255,1) 0%, rgba(255,255,255,0) 47%, rgba(255,255,255,1) 100%);