-
html移动端文字展示自适应
方法一:纯css方法, 精确度高,IOS 和 安卓 字体大小同等比例 1.1 以16px为基准,在根元素html下,字体为62.5% 1.2 此时1rem=10px; /* css代码 */ html { /* 10÷16=62.5% */ font-size: 62.5%; } body { font-size: 12px; /* 12÷10=1.2 */ font-size: 1.2rem; ...- 208
- 0
-
-
XiunoBBS静态化规则
XiunoBBS 只需要一条规则: 将 *.htm* 转发到 index.php?*.htm* 即可。 Xiuno BBS 4.0 需要编辑 conf/conf.php 编辑 'url_rewrite_on'=>1, 清空 tmp 目录 Nginx: 打开 nginx 配置文件 /usr/local/nginx/conf/nginx.conf 找到对应的虚拟主机配置处,追...- 296
- 0
-
網頁底部的版權年份自動更新
對於html5的頁面而言,最簡單最短的代碼寫法: <script>document.write(new Date().getFullYear())</script> 如果非要有一個開始的年份: © Copyright 2017<script>new Date().getFullYear()>2017&&document.w...- 286
- 0
-
-
Xenforo Nginx Apache 靜態化
location ~ \.php$ { try_files $uri =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/run/php/php7.0-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } location /co...- 447
- 0
-
html5视频文件防止下载
1、 $('#videoID').bind('contextmenu',function() { return false; }); 2、 <style type="text/css"> video::-webkit-media-controls-enclosure { overflow:hidden;...- 393
- 0
-
Chevereto Nginx 伪静态规则
location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index...- 642
- 0
❯
個人中心
購物車
優惠劵
今日簽到
有新私信
私信列表
搜索
掃碼打開當前頁
返回頁首
幸運之星正在降臨...
點擊領取今天的簽到獎勵!
恭喜!您今天獲得了{{mission.data.mission.credit}}積分
我的優惠劵
-
¥優惠劵使用時效:無法使用使用時效:
之前
使用時效:永久有效優惠劵ID:×
沒有優惠劵可用!