Drift Angular
Search…
RTL
Right-to-Left (RTL)

Overview

Drift Angular provides a seprate configured template for RTL support. skeleton-rtl

Generate RTL CSS

To generate RTL css run the command to install Gulp dependencies.
1
$ npm install
Copied!
Compile the scss by running the following command:
1
$ gulp
Copied!

RTL attributes

Open the Angular index.html file from src/index.html. Add the RTL attributes to the HTML tag.
1
<html lang="en" direction="rtl" dir="rtl" style="direction: rtl">
Copied!
Open the Angular index.html file from src/index.html. link the RTL css before head tag close </head>
1
<link rel="stylesheet" href="assets/css/default/theme-semidark-rtl.min.css">
Copied!
Last modified 1yr ago