上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
摘要: <script> function getBrowser() { var ua = window.navigator.userAgent; var isIE = ua.indexOf("MSIE") != -1 || ua.indexOf("Trident") != -1; var isIEEdge 阅读全文
posted @ 2020-08-11 16:16 嘆世殘者——華帥 阅读(540) 评论(0) 推荐(0) 编辑
摘要: #!/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 阅读全文
posted @ 2020-07-02 18:20 嘆世殘者——華帥 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-06-30 14:55 嘆世殘者——華帥 阅读(153) 评论(0) 推荐(0) 编辑
摘要: virtualenv # 安装:pip install virtualenv # 创建 # 新建虚拟环境目录:mkdir envs # 进入目录:cd envs # 创建所需的环境(如:django1.11) # 创建一个虚拟环境(Python):virtualenv django1.11 # 进入 阅读全文
posted @ 2020-06-29 19:52 嘆世殘者——華帥 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 利用document.createElement创建当前浏览器(IE6-8)不支持的标签名 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> article { c 阅读全文
posted @ 2020-06-14 15:46 嘆世殘者——華帥 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 方法一:控制图片外框高度,让布局正常,图片不出现拉伸 <div class="left_img"> <img class="img-responsive center-block" src="img/index/j.png" alt="" /> </div> .section3 .left_img 阅读全文
posted @ 2020-06-12 15:58 嘆世殘者——華帥 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 多行文本溢出显示省略号 <style type="text/css">.section3 .title_leftDiv { height: 42px; margin-bottom: 10px;}.section3 .text_leftDiv { margin-bottom: 10px; height 阅读全文
posted @ 2020-06-12 11:27 嘆世殘者——華帥 阅读(94) 评论(0) 推荐(0) 编辑
摘要: js <script type="text/javascript"> function getAvg() { var sum = 0, len = arguments.length, i; for(i = 0; i<len; i++) { sum += arguments[i]; } return 阅读全文
posted @ 2020-06-11 15:24 嘆世殘者——華帥 阅读(152) 评论(0) 推荐(0) 编辑
摘要: CSS .section1 { padding-top: 58px; padding-bottom: 125px; position: relative;}.section1 div.news_list>div { margin-bottom: 6px; } .section1 .news_list 阅读全文
posted @ 2020-06-11 15:17 嘆世殘者——華帥 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-06-10 11:50 嘆世殘者——華帥 阅读(196) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 23 下一页