CSS entries starting with “P”

Every CSS entry starting with P, grouped by kind. Pseudo-classes, pseudo-elements and types are filed by their first letter, ignoring the leading :, :: or <.

NameDescription
Color
palegoldenrodNamed colour #eee8aa.
palegreenNamed colour #98fb98.
paleturquoiseNamed colour #afeeee.
palevioletredNamed colour #db7093.
papayawhipNamed colour #ffefd5.
peachpuffNamed colour #ffdab9.
peruNamed colour #cd853f.
pinkNamed colour #ffc0cb.
plumNamed colour #dda0dd.
powderblueNamed colour #b0e0e6.
purpleNamed colour #800080.
Descriptor
padAn @counter-style descriptor: pads markers to a minimum length.
page-margin-safetyAn @page descriptor keeping margins clear of the unprintable area.
page-orientationAn @page descriptor that rotates the page when shown or printed.
prefixAn @counter-style descriptor: a symbol placed before the marker.
Environment variable
preferred-text-scaleThe user's preferred text size as a scale factor, 1 by default.
Function
paint()An image drawn by a JavaScript paint worklet.
palette-mix()Mixes two colour-font palettes for font-palette.
path()A shape or path from an SVG path data string.
perspective()Applies a perspective projection at a viewing distance.
polygon()A polygon from a list of vertex positions.
pow()Raises a number to a power.
progress()How far a value lies between a start and an end, from 0 to 1.
Keyword
piMath constant: the ratio of a circle's circumference to its diameter.
Media feature
pointerWhether the primary input is a pointer: none, coarse or fine.
prefers-color-schemeWhether the user prefers a light or dark colour scheme.
prefers-contrastWhether the user has asked for more or less contrast.
prefers-reduced-motionWhether the user has asked to minimise non-essential motion.
prefers-reduced-transparencyWhether the user has asked to reduce transparent layers.
Property
paddingShorthand for the four physical paddings inside the border.
padding-blockShorthand for the block-start and block-end paddings.
padding-block-endThe padding at the block-end side; the bottom padding in English.
padding-block-startThe padding at the block-start side; the top padding in English.
padding-bottomThe padding between the bottom border and the content.
padding-inlineShorthand for the inline-start and inline-end paddings.
padding-inline-endThe padding at the end of the line; the right padding in English.
padding-inline-startThe padding at the start of the line; the left padding in English.
padding-leftThe padding between the left border and the content.
padding-rightThe padding between the right border and the content.
padding-topThe padding between the top border and the content.
pageNames the type of printed page a box goes on, for a named @page rule.
page-break-afterDeprecated alias of break-after.
page-break-beforeDeprecated alias of break-before.
page-break-insideDeprecated alias of break-inside.
paint-orderThe order in which fill, stroke and markers are painted.
perspectiveGives an element's children a 3D viewing distance.
perspective-originThe vanishing point for an element's 3D children.
place-contentShorthand for align-content and justify-content.
place-itemsShorthand for align-items and justify-items.
place-selfShorthand for align-self and justify-self.
pointer-eventsWhether an element can be the target of pointer events.
positionStatic, relative, absolute, fixed or sticky positioning for a box.
position-anchorChooses the default anchor of an absolutely positioned box.
position-areaPlaces a box above, below, beside or over its anchor.
position-tryShorthand for position-try-order and position-try-fallbacks.
position-try-fallbacksOther placements to try when an anchored box would overflow.
position-try-orderTries first the fallback placement that gives the most space.
position-visibilityHides an anchored box when its anchor is out of view or it overflows.
print-color-adjustWhether the browser may drop or change colours when printing.
Pseudo-class
:pastMatches caption cue text before the current playback position.
:pausedMatches an audio or video element that is not playing.
:picture-in-pictureMatches a video playing in a picture-in-picture window.
:placeholder-shownMatches an input while it is showing its placeholder text.
:playingMatches an audio or video element that is playing.
:popover-openMatches a popover element while it is showing.
Pseudo-element
::part()Styles shadow DOM elements a component exposes with the part attribute.
::picker()The drop-down part of a customisable select element.
::picker-iconThe arrow icon on a control that opens a picker.
::placeholderThe placeholder text of an input or textarea.
Type
<paint-box>The visual boxes plus fill-box and stroke-box.
<percentage>A number followed by %, a fraction of some reference value.
<position-area>A cell or span in the 3x3 grid around an anchor.
<position>A point inside a box, as keywords, lengths or percentages.
Unit
pcOne pica, 12 points.
ptOne point, 1/72 of an inch.
pxOne CSS pixel, 1/96 of an inch.