<style>
td{mso-number-format:"\@" !important;}
</style>
stockwfj3 發表在 痞客邦 留言(0) 人氣(107)
stockwfj3 發表在 痞客邦 留言(0) 人氣(28)
當文字要壓在圖片上,可以使用 transform:translate
並配合@media screen 調整文字大小即可
例:
<div style="width:100%; background-image:url(images/bg1.jpg);background-size:cover;background-position:center;position:relative;">
<span id="person" style="position:absolute;color:#E6B800; font-weight:800; font-size:80px; top:64%;left:74%;transform: translate(-64%, -74%); z-index:1000;">文字</span>
<img src="圖片" style="display:block;max-width:100%; margin:0 auto;" >
</div>
stockwfj3 發表在 痞客邦 留言(0) 人氣(9,912)
輸入字母轉成大寫
<input name="first_name" type="text" style="text-transform:uppercase;" placeholder="輸入字母轉大寫" />
輸入字母轉成小寫
<input name="first_name" type="text" style="text-transform:lowercase;" placeholder="輸入字母小寫" />
stockwfj3 發表在 痞客邦 留言(0) 人氣(331)
<style>
table{
width:auto;
max-width:100%;
}
stockwfj3 發表在 痞客邦 留言(0) 人氣(102)
<style>
#content img
{
max-width:100% !important;
height:auto !important;
}
</style>
stockwfj3 發表在 痞客邦 留言(0) 人氣(729)
*, *::after, *::before {
-ms-box-sizing: inherit;
-moz-box-sizing: inherit;
-webkit-box-sizing: inherit;
box-sizing: inherit;
margin: 0;
padding: 0;
}
stockwfj3 發表在 痞客邦 留言(0) 人氣(196)
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@media screen and (min-width: 721px) {
.content .x700{display:block !important;}
.content .x490{display:none !important;}
.content .x290{display:none !important;}
stockwfj3 發表在 痞客邦 留言(0) 人氣(265)
<div class="content">
<!-- content -->
</div>
<div class="footer">footer內容</div>
stockwfj3 發表在 痞客邦 留言(0) 人氣(698)
<style>
#player-wrapper{
border-radius:50%;
border:solid 1px #999;
width:360px;
height:360px;
overflow:hidden;
position:absolute;
left:50%;
top:90px;
margin-left:-130px;
z-index:10;
stockwfj3 發表在 痞客邦 留言(0) 人氣(65)