So how can I choose and apply between two different sets of CSS rules, based on the width available to the form, instead of the viewport width itself?
那么如何在两组不同的CSS规则之间进行选择和应用,基于窗体的宽度,而不是视口宽度本身?
As shown in Figure 2, Figure 3, Figure 4, and Figure 5, changes in font size and viewport width can have potentially dramatic effects on visual elements placed on the page.
如图2、图3、图4和图5所示,字体大小和浏览器窗口宽度的改变会对页面上的可视元素产生显著影响。
The viewport settings I chose for this application set the width of the page to the width of the device's current orientation.
我为该应用程序所选的视窗设置将把页面的宽度设为设备当前方位的宽度。
应用推荐