原创 HTML5標籤 兼容低版本IE瀏覽器
利用document.createElement創建當前瀏覽器(IE6-8)不支持的標籤名 <!DOCTYPE html> <html> <head> <meta charset="UTF-8">
原创 基於jQuery實現點擊列表加載更多效果
CSS .section1 { padding-top: 58px; padding-bottom: 125px; position: relative;}.section1 div.news_list>div {
原创 求任意一組數的平均值
js <script type="text/javascript"> function getAvg() { var sum = 0, len = arguments
原创 div+radio模擬select
HTML <div class="section1"> <div class="container"> <div class="row">
原创 鏈接標籤屬性、其他屬性
鏈接標籤屬性 sizes <link rel="icon" href="icon.gif" type="image/gif" sizes="16" > target <base href="http://localhost/" targ
原创 關於git本地分支和遠程分支的創建和推送
遠程先開好分支然後拉到本地 git checkout -b harold origin/harold //檢出遠程的harold分支到本地 本地開好分支然後推送到遠程 git checkout -b harold //創建
原创 position之absolute居中定位
.parent { position: relative; width: 200px; height: 150px; background: blue; } .child { positio
原创 bootstrap 鼠標經過導航下拉
打開bootstrap.min.js 在最後追加一段js $(document).ready(function() { dropdownOpen(); }); function dropdownOpen() { var
原创 基於bootstrap點擊圖片放大插件
<!DOCTYPE html> <html> <head> <title></title> <!-- Introducing the boot
原创 鼠標經過圖片切換
通過onMouseOver和onMouseOut事件來改變<img>的src屬性,從而實現了鼠標經過圖片切換的效果。 <img src="1.jpg" onMouseOver="this.src='2.jpg'" onMouseOut="
原创 centos8下source /etc/profile不生效
vi /etc/profile 增加配置信息,然後source /etc/profile是之生效。 但是打開新的終端會發現,是沒有生效的。 解決方法: vi ~/.bashrc 然後最後一行添加 source /etc/profile
原创 解決IE9以下不兼容H5、媒體查詢
1、解決ie9以下瀏覽器對html5新增標籤的不識別,並導致CSS不起作用的問題。 2、讓不支持css3 Media Query的瀏覽器包括IE6-IE8等其他瀏覽器支持查詢。 head部分添加如下代碼 <!-- HTML5 shim 和
原创 CentOS8上使用Yum安裝Git
安裝 $ yum install git $ git --version 配置 $ git config --global user.name "Harold-Hua" $ git config --global user.em
原创 CentOS8通過docker使用pgAdmin4
docker run --rm -it -d --name pgadmin -p 5433:80 --network net -e PGADMIN_DEFAULT_EMAIL=root -e PGADMIN_DEFAULT_PASSWOR
原创 centos8安裝pgAdmin(未完)
$ sudo yum -y install https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noa