shell 生成的文件如何支持移动端的缩放舒服的显示

直接上代码

out_file=/tmp/a1

echo '<head><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"></head><body>' > "$out_file"
echo "在移动端上也能缩放舒服的显示" 2>&1 | tee -a "$out_file"
echo "</body>" >> "$out_file"

(全文完)

关于本文如您有任何想法和意见,欢迎与我们联系,邮箱地址zhi@uqugu.com。
您对本文有什么看法,喜欢或者不喜欢都可以发表意见。