Skip to content

Instantly share code, notes, and snippets.

View vladmiller's full-sized avatar
🎯
Focusing

Vlad Miller vladmiller

🎯
Focusing
View GitHub Profile
@vladmiller
vladmiller / pseudo-elements.md
Created December 23, 2025 18:04 — forked from danilosetra/pseudo-elements.md
A CSS pseudo-element is used to style specified parts of an element. In some cases you can style native HTML controls with vendor specific pseudo-elements. Here you will find an list of cross browser specific pseudo-element selectors.

Styling native elements

Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.

video::webkit-media-controls-timeline {
  background-color: lime;
}

video /deep/ input[type=range] {
// Factory to generate payment streams
const getPayments$ = () => {
const isLoading$ = new BehaviorSubject<boolean>(false)
const error$ = new Subject<ApiError | null>()
// Stream that holds currently actie DB
const db$ = activeDB$.pipe(map(mapDB<AgentDB>))
const baseCollection$ = db$.pipe(