i have applied the following css to an image in span tag.
-moz-transform: rotate(-2deg);
-webkit-transform: rotate(-2deg);
transform:rotate(-2deg);
-o-transform: rotate(-2deg);
this css style works on ios webview, desktop browser, but not on android webview, which is also webkit based.
my question is why this is not rendered on Android.
You might often face issues in updating the chrome and Android System Webview. To fix this problem, you can reboot your device, check your internet connection, stop auto-updating all apps, clear Google Playstore cache, and storage, leave the beta testing program, and manually update Android WebView app from Playstore.
Flyperlink is a great alternative app to System WebView.
AFAIK, the rotation transform is only applied to block level elements. A span is an inlined element by default.
i am using android version 3.1 and this code working fine for me.. my code is below
.transofmr
{
-ms-transform: rotate(30deg); /* IE 9 */
-webkit-transform: rotate(30deg); /* Safari and Chrome */
-o-transform: rotate(30deg); /* Opera */
-moz-transform: rotate(30deg); /* Firefox */
transform: rotate(30deg);
width:200px;
height:200px;
background-color:#339933;
}
<div class="transofmr">Transform</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With