JSFiddle - React, Tailwind, and code Playground
by Константин Дралюк
HTML
<link rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v4/yU/l/0,cross/YnNARgUOLFv.css">
<div class="_3h1i _1mie" role="table" style="height: 219px; width: 943px;"><div class="_3h1j" style="width: 943px; height: 204px;"><div class="_3487 _3488 _3489" style="width: 585px; height: 219px; left: 0px;"><div class="_348a" style="height: 219px;"></div></div><div class="_1mmd _1mme" role="row" style="z-index: 1; width: 943px; height: 48px;"><div class="_182x" style="height: 48px; width: 455px; z-index: 2; left: 0px;"><div class="_63jp" style="height: 48px; width: 455px; will-change: transform; transform: translate3d(0px, 0px, 0px); backface-visibility: hidden;"><div class="_1eyh _1eyi" style="height: 48px; width: 49px; left: 0px;"><div class="_1eyb _3h1a _1mib _e-x" style="width: 49px; height: 48px; top: 0px;"><div class="_3pzk" style="height: 48px; left: 0px;"><div class="_3pzj" style="height: 48px; position: absolute; width: 49px; will-change: transform; z-index: 0; transform: translate3d(0px, 0px, 0px); backface-visibility: hidden;"><div class="_4lg0 _4lg6 _4h2q _4h2m" style="height: 48px; width: 49px; left: 0px;"><div class="_2yl9 _4tkw"><div class="_3bwv _3bww"><div class="_3bwy"><div class="_3bwx"><div class="x1rg5ohu x1n2onr6 x3oybdh"><div class="x1n2onr6 x14atkfc"><div class="x6s0dn4 x78zum5 x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x178xt8z xm81vs4 xso031l xy80clv xb9moi8 xfth1om x21b0me xmls85d xhk9q7s x1otrzb0 x1i1ezom x1o6z2jb x1gzqxud x108nfp6 x9f619 xexx8yu x4uap5 x18d9i69 xkhd6sd xl56j7k xxk0z11 xvy4d1p"><div class=""></div><input aria-checked="false" aria-disabled="false" aria-label=""Checkbox to select all of the ads"" aria-describedby="js_1i" aria-labelledby="js_1j" class="xjyslct x1ypdohk x5yr21d x17qophe xdj266r x11i5rnm xat24cr x1mh8g0r x1w3u9th x1t137rt x10l6tqk x13vifvy xh8yej3 x1vjfegm" id="js_1h" type="checkbox"><div class="x13dflua xnnyp6c x12w9bfk x78zum5 xg01cxk x1f85oc2 x6o7n8i"><div class="x3nfvp2 x120ccyz x4s1yf2"...
SCSS
.scrollbar {
overflow: auto;
scrollbar-gutter: auto;
-webkit-overflow-scrolling: auto;
overscroll-behavior-x: none;
overscroll-behavior-y: none;
&::-webkit-scrollbar {
width: 6px;
height: 6px;
background: radial-gradient(91.97% 70.71% at 50% 50%, rgba(70, 166, 255, 0.15) 0%, rgba(7, 19, 30, 0.15) 100%);
border-radius: 4px;
&-track {
background: #10161f;
border-radius: 6px;
background-clip: padding-box;
border: 2px solid #1f2731;
}
&-corner {
background: radial-gradient(75.27% 75.27% at 68.03% 31.76%, #46a6ff 0%, #007df2 0.01%, #004a8f 100%);
border-radius: 6px;
}
&-thumb {
border-radius: 4px;
background: radial-gradient(75.27% 75.27% at 68.03% 31.76%, #46a6ff 0%, #007df2 0.01%, #004a8f 100%);
background-clip: padding-box;
border: 2px solid transparent;
&:hover {
border: 1px solid transparent;
}
}
}
}
.ot-data-wrapper {}
.ot-data {
display: inline-flex;
flex-direction: row;
border-radius: 6px;
border: 1px solid #6F6E6E;
background: linear-gradient(116deg, #090C11 0%, #1F2731 100%);
overflow: auto;
gap: 6px;
white-space: nowrap;
max-width: 100%;
align-items: center;
overflow: overlay;
}
.ot-data__values {
display: flex;
flex-direction: row;
color: #FFF;
font-size: 10px;
}
.ot-data__values+.ot-data__values {
border-left: 1px white solid;
padding-left: 6px;
}
.ot-data__value {
font-weight: 700;
}
.ot-data__name {}
svg {
width: 10px;
height: 10px;
}