自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 使用继承多态思想来完成喂食模拟器

//动物类public abstract class Anm { public abstract void eat();}//鸟类public class Bird extends Anm{ public void eat(){ System.out.println("鸟吃米"); }}//狮子类public class Lion extends Anm{ public void eat(){ System.out.pr.

2022-03-17 11:48:19 557

原创 见缝插针小游戏

直接上代码,css*{ margin:0; padding: 0;}body{ background: black;}ul{ position: absolute; top: 40%; left: 0; width: 100%; text-align: center;}li{ height: 50px; line-height: 50px; font-size: 30px; color: w

2021-12-20 16:09:58 1705 1

原创 JQ点击获取验证码倒计时

<style> .tableText{ display: inline-block; width: 120px; height: 50px; text-align: center; background-color: black; font-size: 12px; font-weight: bold; .

2021-12-15 16:59:43 1272

原创 连续点击正反排序数字

<span class="paixu" mode="0" style="display:inline-block;padding:5px 10px;cursor: pointer;background:red;color:#fff;">排序</span><ul id="list"> <li><span>数值是:</span><span class="orderid">108</span></li.

2021-12-13 17:28:42 99

原创 jq简单轮播图,易懂

先上效果图接下来是css<style> div{ width: 540px; height: 320px; } #one li{ list-style-type: none; margin-left: -30px; margin-top: -15px; } #tow l.

2021-12-12 19:39:07 609

原创 js写出当前时间,简单明了,易看懂

先上效果图button是清除时间跳动效果<div id="myclock"></div><!-- clearInterval(setInterval返回的名字) setTimeOut() clearTimeOut()--><button onclick="javasrcipt:clearInterval(mytime)">清楚函数特效</button>接下来是js...

2021-12-07 20:24:00 301

原创 jquery写出简单明了的四位或多位随机数

$(document).ready(function () { var num="";//随机数 for (let i=0; i<4;i++){ //多位随机数就把 i<4 换位 i<你想要的数就行 //Math.random 0~1 //乘10变为0~10 //向下取整0~9 var j= Math.floor(Math.random()...

2021-12-06 17:24:48 877 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除