[up主专用,视频内嵌代码贴在这]
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
VUE3初识今天聊一聊最近学到的东西 主要是vue3特别基础的内容 今天会以vue2的语法了解一下主要的功能
VUE3提供了新的创建项目方式 vue-vite这是一个最新的前端构造工具优势在于可以按需编译,所以它对于轻量快速的热重载能实行极速的服务启动具体方式如下:
1npm create vue@latest
在终端输入后会弹出提示框
12345678910111213✔ Project name: … <your-project- ...
插入排序,快排,归并排序让我们以两个常见的java库函数讲起:
12345678910111213141516import java.util.Arrays;import java.util.concurrrenet.ThreadLocalRandom;/*第一个函数就是在第一个库里面可以直接被我们打印出来方便最后的封装*///ie:int[] arr = new[]{1, 2, 3, 4};System.out.println(Arrays.toString(arr));//输出结果为1, 2, 3, 4//第二个函数是在第二个库中//可以在给定范围内生成一个随机数字int num = ThreadLocalRandom.current().nextInt(0, 100);//在[0, 100)中随机随机生成
BubbleSort(冒泡排序):
123456789101112131415public static void BubbleSort(int[] arr){ for(int i = 0; i < arr.length; ...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment


