摘要:
<script> function getBrowser() { var ua = window.navigator.userAgent; var isIE = ua.indexOf("MSIE") != -1 || ua.indexOf("Trident") != -1; var isIEEdge 阅读全文
摘要:
#!/usr/bin/env python3 # coding=utf-8 # Version:python3.6.1 # Project:practice # File:Number_Riddle_猜数字.py # Data:2020/7/2 21:36 # Author:LGSP_Harold 阅读全文
摘要:
tools.py #!/usr/bin/env python3 # coding=utf-8 # Version:python3.6.1 # File:tools.py import random from datetime import datetime __date__ = '2020/6/30 阅读全文
摘要:
virtualenv # 安装:pip install virtualenv # 创建 # 新建虚拟环境目录:mkdir envs # 进入目录:cd envs # 创建所需的环境(如:django1.11) # 创建一个虚拟环境(Python):virtualenv django1.11 # 进入 阅读全文
摘要:
利用document.createElement创建当前浏览器(IE6-8)不支持的标签名 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> article { c 阅读全文
摘要:
方法一:控制图片外框高度,让布局正常,图片不出现拉伸 <div class="left_img"> <img class="img-responsive center-block" src="img/index/j.png" alt="" /> </div> .section3 .left_img 阅读全文
摘要:
多行文本溢出显示省略号 <style type="text/css">.section3 .title_leftDiv { height: 42px; margin-bottom: 10px;}.section3 .text_leftDiv { margin-bottom: 10px; height 阅读全文
摘要:
js <script type="text/javascript"> function getAvg() { var sum = 0, len = arguments.length, i; for(i = 0; i<len; i++) { sum += arguments[i]; } return 阅读全文
摘要:
CSS .section1 { padding-top: 58px; padding-bottom: 125px; position: relative;}.section1 div.news_list>div { margin-bottom: 6px; } .section1 .news_list 阅读全文
摘要:
HTML <div class="section1"> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-6"> </div> <div class="col-xs-12 col-sm-6"> <div cl 阅读全文