dimanche 25 mai 2014

HTML - CSS inverser un site entier (effet miroir) à l'exclusion des images tetand - Stack Overflow


I just trying to find an creative way to set up a wordpress/prestashop template for RTL languages arabic/hebrew.


I've found this topic. Can you use CSS to mirror/flip text?


And here is my thought. What if apply scale(-1, 1) for all tags, excluding images and text.


Will it work? Is it any right way to do so?




The link above you posted if I see the accepted answer. that is doing just a rotation effect not actual mirror effect. you are designing the website in Arabic language which start from right to let.


In this case you can this css property in your body tag.


body
{direction: rtl; /* Right to Left */
unicode-bidi: bidi-override;
}

For more details you must watch this link.



I just trying to find an creative way to set up a wordpress/prestashop template for RTL languages arabic/hebrew.


I've found this topic. Can you use CSS to mirror/flip text?


And here is my thought. What if apply scale(-1, 1) for all tags, excluding images and text.


Will it work? Is it any right way to do so?



The link above you posted if I see the accepted answer. that is doing just a rotation effect not actual mirror effect. you are designing the website in Arabic language which start from right to let.


In this case you can this css property in your body tag.


body
{direction: rtl; /* Right to Left */
unicode-bidi: bidi-override;
}

For more details you must watch this link.


0 commentaires:

Enregistrer un commentaire