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.
$ npm install
Compile the scss by running the following command:
$ gulp
RTL attributes
Open the Angular index.html file from src/index.html
. Add the RTL attributes to the HTML tag.
<html lang="en" direction="rtl" dir="rtl" style="direction: rtl">
Link RTL Css
Open the Angular index.html file from src/index.html
. link the RTL css before head tag close </head>
<link rel="stylesheet" href="assets/css/default/theme-semidark-rtl.min.css">
Last updated
Was this helpful?