<分区>
所以我遇到了一些问题。我的标题看起来像这样: 它在移动设备上看起来真的很差,如下所示:
是否有根据需要缩小文本以适应标题的好方法?最好是仅 CSS 的解决方案。
我这里有一个预制的 JSFiddle,其中只有用于试验的 header :https://jsfiddle.net/wgy1ohc3/1/
<div class="parallax-container header-parallax">
<div class="container container-wide readable-text">
<h1 class="white-text">Account Security</h1>
<h4 class="white-text">Control active sessions and 2-Factor Authentication.</h4>
</div>
<div class="parallax"><img src="https://i.imgur.com/k45V80z.jpg?2"></div>
</div>
如有任何帮助,我们将不胜感激!