- 博客(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
565
原创 见缝插针小游戏
直接上代码, 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
1724
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
1278
原创 连续点击正反排序数字
<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
106
原创 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
616
原创 js写出当前时间,简单明了,易看懂
先上效果图 button是清除时间跳动效果 <div id="myclock"> </div> <!-- clearInterval(setInterval返回的名字) setTimeOut() clearTimeOut() --> <button onclick="javasrcipt:clearInterval(mytime)">清楚函数特效</button> 接下来是js ...
2021-12-07 20:24:00
306
原创 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
907
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人