Reputation: 6603
I want my React app will be seen as the same as when a user changes the zoom level to 90%. I tried that issue with CSS
body {
transform: scale(0.9);
}
but in this way, the screen is not similar to zoom level changes. I tried applying my desire size by meta tag, but it wasn't successful.
<meta name="viewport" content="width=device-width, initial-scale=0.9"/>
Upvotes: 1
Views: 508
Reputation: 242
use the css zoom property to set your default zoom value. Here's the css demo code.
#my{
zoom: 100%;
}
Upvotes: 1