in

The in CSS unit specifies the length of the element in inches.

1in = 2.54cm = 25.4mm = 6pc = 72pt = 96px = 101.6Q

Syntax

<number>in

Examples

1 · CSS

2 · JS · Inline

3 · JS · Internal

cm

mm

pc

pt

px

Q

cap

ch

cm

cqb

cqh

cqi

cqmax

cqmin

cqw

deg

dpcm

dpi

dppx

dvb

dvh

dvi

dvmax

dvmin

dvw

em

ex

grad

ic

lvb

lvh

lvi

lvmax

lvmin

lvw

mm

ms

pc

pt

px

Q

rad

rem

s

svb

svh

svi

svmax

svmin

svw

turn

vb

vh

vi

vmax

vmin

vw

World Wide Web Consortium (W3C)

Home Menu