Opengist Logo 清羽飞扬の代码片段

Explore

  • All gists
  • Topics
  • Users
个人主页 站长博客
Give feedback on the new UI Powered by Opengist ⋅ 39ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
l

lazyload

Recently created Least recently created Recently updated Least recently updated
LiuShen

LiuShen / 仅仅刷新图片,而不刷新整站

Last active 2 months ago css html javascript lazyload

点击图片仅仅刷新图片,而不刷新整站,通过添加参数防止缓存

0 0 1
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>局部刷新图片</title>
7 <style>
8 body {
9 display: flex;
10 justify-content: center;