I want to give a shoutout to meouw
for their helpful answer below:
Quoted by meouw
/* Only displaying mozilla and webkit transforms */
ul {
width: 500px;
height: 100px;
background: #def;
list-style-type: none;
-moz-transform: scaleY(-1);
-webkit-transform: scaleY(-1);
}
li {
background: #aaa;
width: 50px;
height: 40px;
float: left;
margin: 5px 25px;
-moz-transform: scaleY(-1);
-webkit-transform: scaleY(-1);
}
Presenting the Cross Browser Solution:
/* Works on Chrome, Firefox, Mozilla, IE7+(tested), Opera */
ul {
width: 500px;
height: 100px;
background: #def;
list-style-type: none;
-moz-transform: scaleY(-1); /* for Mozilla */
-webkit-transform: scaleY(-1); /* for Webkit Safari/Chrome*/
-o-transform: scaleY(-1); /* for Opera*/
-ms-transform: scaleY(-1); /* for IE9 + */
filter: flipv(); /* for IE9 below */
}
li {
background: #aaa;
width: 50px;
height: 40px;
float: left;
margin: 5px 25px;
-moz-transform: scaleY(-1); /* for Mozilla */
-webkit-transform: scaleY(-1); /* for Webkit Safari/Chrome*/
-o-transform: scaleY(-1); /* for Opera*/
-ms-transform: scaleY(-1); /* for IE9 + */
filter: flipv(); /* for IE9 below */
}
If you're using IE 9 or below, consider using filter: flipv();
Check Reference