Targets one or multiple DOM Elements using a CSS selector.
Any String accepted by document.querySelectorAll()
.row {
position: relative;
padding: 18px 0;
border-bottom: 1px solid #222;
display: flex;
align-items: center;
min-height: 48px;
}
.row:last-child { border-bottom: none; }
.row::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 1px;
background: #262626;
transform: translateY(-0.5px);
}
.square {
position: relative;
z-index: 1;
width: 18px;
height: 18px;
background-color: var(--highlight-color);
border-radius: 3px;
will-change: transform;
}
.sq-lg { width: 28px; height: 28px; border-radius: 4px; }
.sq-md { width: 20px; height: 20px; border-radius: 3px; }
.sq-sm { width: 14px; height: 14px; border-radius: 3px; }
#css-selector-id { background-color: var(--accent-color); }
.demo-visual { padding: 26px 30px; background: #151515; }