.accordion-item .accordion-collapse {
position: relative;
z-index: 1;
}
@media(min-width: 768px) {
.accordion-item:nth-child(3n+1) .accordion-collapse {
margin-right: -200%;
}
.accordion-item:nth-child(3n+2) .accordion-collapse {
margin-right: -100%;
margin-left: -100%;
}
.accordion-item:nth-child(3n+3) .accordion-collapse {
margin-left: -200%;
}
}<div class="table-wrapper">
<div class="table">
<div class="col indigo">
<div class="item">Item</div>
<div class="item">Item</div>
<div class="item">Item</div>
<div class="item">Item</div>
</div>
<!-- your code table --->
</div>
</div>/**
** your code css
**/
.col:first-child {
position: sticky;
z-index: 5;
left: 0;
}
.table-wrapper {
max-width: 100%;
overflow-y: hidden;
overflow-x: auto;
}<td class="td" rowspan="4" width="20%">
<div class="bg"style="filter: blur(px);background-image: url('https://image.gametracker.com/images/maps/160x120/cs/de_dust2_2x2.jpg');box-shadow: inset 0px 0px 10px 0px rgba(50, 50, 50, 0.75);"></div>
<div class="addon-installed" style="-webkit-box-shadow: 3px 2px 5px 0px rgba(31, 31, 31, 0.6);-moz-box-shadow: 3px 2px 5px 0px rgba(31, 31, 31, 0.6);box-shadow: 3px 2px 5px 0px rgba(31, 31, 31, 0.6);padding-right: 5px;width: max-content;margin-right: -2px;margin-top: -63px;text-align: center;">Сервер выключен =(</div>
</td>.td {
position: relative;
}
.bg {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left:0px;
right: 0px;
bottom: 0px;
z-index: 0;
}
.addon-installed {
z-index: 1;
position: relative;
}
AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf
AddType x-font/woff .woff
AddType font/woff2 .woff2
<!DOCTUPE HTML>
<html>
<head>
<title>Test</title>
</head>
<body>
<input type="file"><br>
<input type="file"><br>
<input type="file"><br>
<input type="file"><br>
<input type="file"><br>
<input type="file"><br>
<input type="file"><br>
<button id="click">Test</button>
<script>
var btn =document.getElementById('click');
click.addEventListener('click', function(e){
var files = document.querySelectorAll('input[type="file"]'),
fd = new FormData();
if(files){
files.forEach(function(input, index, list){
if(input.files.length){
fd.append("filesUpload[]",input.files[0]);
}
});
}
// вывод для теста
console.log(fd.getAll('filesUpload[]'));
// Отправляем ajax
// Повесить обработчики отправки!!!!
var request = new XMLHttpRequest();
request.open("POST", "http://localhost/submitform.php");
request.send(fd);
});
</script>
</body>
</html>