Set whether the text should be overridden to support multiple languages with CSS

CSSWeb DevelopmentFront End Technology

Use the unicode-bdi property to set whether the text should be overridden to support multiple languages with CSS

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <style>
         p.demo1 {
            direction: rtl;
            unicode-bidi: bidi-override;
         }
         p.demo2 {
            direction: rtl;
            unicode-bidi: isolate;
         }
      </style>
   </head>
   <body>
      <h1>The unicode-bidi Property</h1>
      <p>This is demo text.</p>
      <p class = "demo1">This is demo text</p>
      <p class = "demo2">This is demo text</p>
   </body>
</html>
raja
Published on 31-May-2018 12:32:53
Advertisements