pseudo-element
::column — CSS reference
Represents a generated column of a multicolumn container, not an authored DOM child. Only properties applicable to this pseudo-element take effect. It can supply column snap targets and associated scroll markers; computed style does not prove the complete generated layout.
Formal Syntax & Structure
css syntaxcss
::column { scroll-snap-align: start; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::column</title><style>body{margin:8px;font:16px/20px sans-serif;color:black;background:white}#a{columns:2;width:200px;height:80px;overflow:auto}#a::column{scroll-snap-align:start}</style><body><div id="a">One two three four five six seven eight nine ten eleven twelve thirteen fourteen.</div></body></html>