Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
The text-indent CSS property specifies the indentation that lines of inline content in a block are indented from its “normal” position.
Inherited
yes
Applies to
block containers
Percentages
refer to the width of the containing block
Initial value
0
Animation type
a length, percentage or calc();
Computed value
the percentage as specified or the absolute length, plus any keywords as specified
CSS Text Module Level 3 # text-indent-property
/* <length> values */
text-indent: 3mm;
text-indent: 40px;
/* <percentage> value relative to the containing block width */
text-indent: 15%;
/* Keyword values */
text-indent: 5em each-line;
text-indent: 5em hanging;
text-indent: 5em hanging each-line;
/* Global values */
text-indent: inherit;
text-indent: initial;
text-indent: revert;
text-indent: unset;
index.html
Source:index.html
Browser Support For Safari on iOS Versions
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for CSS text-indent and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!