随笔分类 - css
摘要:样式: <style type="text/css"> img:hover{ transform:scale(2,2)}</style> HMTL代码: <img src="images/eg_tulip.jpg" /> 注:设置2,2,当光标放到img标签时,图片高度放大2倍,宽度放大2倍
阅读全文
摘要:按钮: {position: 'fixed',bottom: 0;} 如果 按钮覆盖了容器的内容,容器加个padding-bottom就行了 容器: {padding-bottom: 100px;} 这样的话,按钮会固定在手机屏幕的底部,如果要居中的话要设置 按钮{ margin:auto; lef
阅读全文

浙公网安备 33010602011771号