上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 92 下一页
摘要: // 大型设备(大台式电脑,1200px 起) @media screen and (min-width:1200px) { //... } // 中型设备(台式电脑,992px 起) @media screen and (min-width:992px) and (max-width:1200px 阅读全文
posted @ 2021-08-29 15:53 木子欢儿 阅读(409) 评论(0) 推荐(0)
摘要: js function exportCanvasAsPNG(id, fileName) { var canvasElement = document.getElementById(id); var MIME_TYPE = "image/png"; var imgURL = canvasElement 阅读全文
posted @ 2021-08-28 00:14 木子欢儿 阅读(705) 评论(0) 推荐(0)
摘要: 在需要隐藏的区域加一个Div,例如想在手机端隐藏kongbiji这张图片,代码如下: <div class="none"><img src="kongbiji.jpg"/></div> 如果想设置屏幕尺寸达到了 768 像素以下将会隐藏,否则显示。 则把DIV加一个样式代码如下: @media sc 阅读全文
posted @ 2021-08-22 01:13 木子欢儿 阅读(582) 评论(0) 推荐(0)
摘要: <script type='text/javascript'> const handler = setInterval(function () { console.clear(); const before = new Date(); debugger; const after = new Date 阅读全文
posted @ 2021-08-21 23:12 木子欢儿 阅读(258) 评论(0) 推荐(0)
摘要: <html> <head> <title>Demo</title> <style> .textarea-container { position: relative; margin-left: 30%; } .textarea-container textarea { width: 50%; hei 阅读全文
posted @ 2021-08-18 09:00 木子欢儿 阅读(127) 评论(0) 推荐(0)
摘要: https://js-delivr-cdn-purge.vercel.app/ 欢迎Star https://github.com/muzihuaner/jsDelivrCDNpurge/ 阅读全文
posted @ 2021-08-17 16:53 木子欢儿 阅读(130) 评论(0) 推荐(0)
摘要: 一个漂亮的、响应式的、可定制的和可访问(WAI-ARIA)的JAVASCRIPT弹窗,无任何依赖 中文文档地址:http://mishengqiang.com/sweetalert2/ 文档地址:https://sweetalert2.github.io/ GitHub项目地址:https://gi 阅读全文
posted @ 2021-08-14 16:54 木子欢儿 阅读(189) 评论(0) 推荐(0)
摘要: 一、简介 Viewer.js 是一款强大的图片查看器。 Viewer.js 有以下特点: 支持移动设备触摸事件 支持响应式 支持放大/缩小 支持旋转(类似微博的图片旋转) 支持水平/垂直翻转 支持图片移动 支持键盘 支持全屏幻灯片模式(可做屏保) 支持缩略图 支持标题显示 支持多种自定义事件 Vie 阅读全文
posted @ 2021-08-11 10:23 木子欢儿 阅读(736) 评论(0) 推荐(0)
摘要: CSS #maomao { position: fixed; bottom: 40px; right: -5px; width: 57px; height: 70px; background-image: url(https://cdn.jsdelivr.net/gh/muzihuaner/huan 阅读全文
posted @ 2021-08-08 21:52 木子欢儿 阅读(252) 评论(0) 推荐(0)
摘要: random_walk.py from random import choice class RandomWalk(): """初始化随机漫步数据的类""" def __init__(self, num_points=5000): self.num_points = num_points # 所有随 阅读全文
posted @ 2021-08-02 19:03 木子欢儿 阅读(105) 评论(0) 推荐(0)
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 92 下一页