0
我想使用滾動文本區域內容的背景,我發現背景附件本地做我需要的東西,它在Chrome和Safari上完美工作,但是當我試圖在iOS和Android設備它不工作,任何想法,我怎麼能解決這個問題,這就是我想要做的事:爲什麼背景附件本地不能在Android和IOS上工作
.box{
background: #ebebeb url("https://d1bys27s0mpm5v.cloudfront.net/static/images/underline.3bf1ed0760e9.png") repeat;
background-attachment: local;
border: none;
box-shadow: none;
line-height: 30px;
font-size:24px;
font-family: CeraCY-Regular;
padding: 4px;
resize: none;
border-radius: 1px;
height: 300px;
width: 300px;
}
<textarea class="box">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</textarea>
那麼這個問題有什麼替代解決方案,如何才能達到這個要求呢? – nkarmi