会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嘆世殘者——華帥
懒癌重度患者——别问那么多为什么!
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
23
下一页
2020年8月11日
JS根据不同浏览器加载不同css或JS
摘要: <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 嘆世殘者——華帥
阅读(546)
评论(0)
推荐(0)
2020年7月2日
Python就业班——Python函数与模块——练习——number_riddle猜数字(慕K)
摘要: #!/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 嘆世殘者——華帥
阅读(223)
评论(0)
推荐(0)
2020年6月30日
有几率出现重复
摘要: 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 嘆世殘者——華帥
阅读(160)
评论(0)
推荐(0)
2020年6月29日
Python虚拟环境
摘要: virtualenv # 安装:pip install virtualenv # 创建 # 新建虚拟环境目录:mkdir envs # 进入目录:cd envs # 创建所需的环境(如:django1.11) # 创建一个虚拟环境(Python):virtualenv django1.11 # 进入
阅读全文
posted @ 2020-06-29 19:52 嘆世殘者——華帥
阅读(132)
评论(0)
推荐(0)
2020年6月14日
HTML5标签 兼容低版本IE浏览器
摘要: 利用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 嘆世殘者——華帥
阅读(165)
评论(0)
推荐(0)
2020年6月12日
图片控制
摘要: 方法一:控制图片外框高度,让布局正常,图片不出现拉伸 <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 嘆世殘者——華帥
阅读(160)
评论(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 嘆世殘者——華帥
阅读(102)
评论(0)
推荐(0)
2020年6月11日
求任意一组数的平均值
摘要: 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 嘆世殘者——華帥
阅读(156)
评论(0)
推荐(0)
基于jQuery实现点击列表加载更多效果
摘要: 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 嘆世殘者——華帥
阅读(276)
评论(0)
推荐(0)
2020年6月10日
div+radio模拟select
摘要: 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 嘆世殘者——華帥
阅读(212)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
23
下一页
公告