Open this example in the interactive library
Source code
<style>
.demo {
padding-inline-start: 2rem;
}
</style>
<p dir="rtl" class="demo">Start padding in RTL</p>
Logical start padding with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
padding-inline-start: 2rem;
}
</style>
<p dir="rtl" class="demo">Start padding in RTL</p>