orientation
resolution
landscape
portrait
Answer is Right!
Answer is Wrong!
The correct answer is: A. orientation
The orientation
property locks the document in the specified orientation, portrait or landscape.
The resolution
property specifies the resolution of the viewport, in pixels per inch (ppi).
The landscape
property specifies that the viewport should be in landscape orientation.
The portrait
property specifies that the viewport should be in portrait orientation.
Here is an example of how to use the orientation
property:
css
@viewport {
orientation: portrait;
}
This will lock the viewport in portrait orientation.