原创 手機端常用公共css
html{ display: block; overflow-x: hidden; font-size: 100px; } body { font-size: 0.14rem; min-width
原创 jquery獲取窗口高度,window高度,滑動條高度
function c() { $(document).ready(function() { var scroH = $(document).scrollTop(); //滾動高度 var view
原创 js獲取窗口高度,window高度,滑動條高度
function c() { $(document).ready(function() { var scroH = $(document).scrollTop(); //滾動高度 var view
原创 移動端js-基於rem自適應
function resi() { var html = document.querySelector("html"); var wW = document.body.clientWidth || document.doc
原创 mysql數據庫的基本操作- php
//爲了使用方便,我進行了函數封裝,//這對於之後數據庫的存儲過程的學習有很大幫助//數據庫連接function dblnit($host="localhost",$user="root",$pwd="root",$dbname,$cha