Yes, you can use CSS Media queries to detect if the device is in portrait or landscape mode, and change your HTML accordingly. There are also Cordova plugins that allow you to interact with the device’s built-in gyroscope to detect portrait or landscape modes, and re-render your interface via Javascript.