JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<input type="button" id="btr" class="tieicon-left-open">moins</input>
<input type="button" id="btr" class="tieicon-right-open">plus</input>
<br>
<div id='ctn' class="feedzy-horizontal" style='overflow-y: hidden; overflow-x: scroll;width:500px;height:100px;'>
<div style='width:2000px;height:80px;background:red'></div>
</body>
JavaScript
var scr_btn={
ctn:"",
init:function(){
document.getElementsByClassName("tieicon-right-open")[0].onclick=scr_btn.plus;
document.getElementsByClassName("tieicon-left-open")[0].onclick=scr_btn.moins;
scr_btn.ctn=document.getElementsByClassName("feedzy-horizontal")[0];
},
plus:function (){
scr_btn.ctn.scrollLeft=scr_btn.ctn.scrollLeft+100;
},
moins:function(){
scr_btn.ctn.scrollLeft=scr_btn.ctn.scrollLeft-100;
}
}
scr_btn.init()