*Note: - The red background represents the background color - The blue text represents the image
Is there a way to switch the UI
from portrait mode to landscape mode in mobile view using CSS
/Bootstrap
or any other method, as I am utilizing ionic
for development.
This is the code snippet I have:
<ion-view view-title="Home">
<ion-content class="padding" style="background-color:#616161">
<div class="row row-center row-assertive" style="margin:3px auto;">
<div class="col col-50" align="center">
<a ng-click="secu()">
<img class="shadow" src="img/i-security.png" style=" max-width: 100%">
</a>
</div>
<div class="col col-50" align="center">
<a ng-click="trip()">
<img class="shadow" src="img/i-trip.png" style=" max-width: 100%">
</a>
</div>
</div>
<div class="row row-center row-royal" style="margin:3px auto;">
<div class="col col-50" align="center">
<a ng-click="find()">
<img class="shadow" src="img/i-find.png" style="width:97%">
</a>
</div>
<div class="col col-50" align="center">
<a ng-click="logout()">
<img class="shadow" src="img/i-setting.png" style="width:97%">
</a>
</div>
</div>
</ion-content>
</ion-view>