Import css with css module scripts in esm

Traditionally there are a few ways to statically add css to a page, and via JavaScript it can also be dynamically added by either creating a link element with rel="stylesheet" and href set to a css file location, or creating a style element with css definitions as its content. Now there is a 3rd way: importing css directly from within an ESM script tag, similarly to the way of importing JavaScript resources, via a feature called CSS Module scripts.

Floating horizontal scrollbar

How to use a jquery plugin to implement floating horizontal scrollbar, which is especially useful for single page application where partial content of the page (i.g. table of data) are large and dynamically updated and you don't want to make use of the browser scrollbar for scrolling the partial content.

HTML div and span

Introduction to html div and span elements and their differences.

CSS placement

Three kinds of css placement in HTML.

Selenium css selector

Web element locating strategy using css selector in Selenium.