initial

noun

say it: “ih-NISH-ul” /ɪˈnɪʃəl/

A CSS keyword that sets a property to its starting value, the one CSS itself defines for it, ignoring the parent and the browser's default styles.

What does the initial keyword do?

initial resets a property to the value CSS gives it by default (not the browser's style).

.plain-button { font-weight: initial; }

In a sentence

  • “I set display: initial on a div and was surprised it became inline, because that's where CSS starts display, not the browser's default for a div.”

Level: Freelancer · More CSS terms at this level

Updated