Java 堆内存被划分为新生代和老年代两部分,因此 JVM 通常采用分代回收算法。新生代主要使用复制和标记 清除垃圾回收算法 ,老年代主要使用标记 整理垃圾回收算法。JVM 中针对新生代和年老代分别提供了多种不同的垃圾收集器。 根据线程特点,可以将收集器分为三类: 1. 串行收集器 :Serial ...
分类:
其他好文 时间:
2020-03-14 20:12:46
阅读次数:
69
作为一名程序媛在编写页面的时候经常还会遇到水平或者垂直居中的一些布局今天正好有空就把各种居中的方式都总结了一下分享给大家希望能给大家带来帮助 1.已知宽高背景图与背景图上的文字都水平垂直居中 .img-bg{ position: absolute; background: url("http://s ...
分类:
Web程序 时间:
2020-03-14 19:50:53
阅读次数:
70
1 <!-- 一般用作活动专题网页制作,平常不太用 --> 2 <!-- transition-property 设置过渡的属性,例如:width height background-color 3 transition-duration 设置过渡时间,比如:1s 500ms 4 transitio ...
分类:
Web程序 时间:
2020-03-14 17:07:36
阅读次数:
76
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> body{ background-color: gold; } .box{ f ...
分类:
Web程序 时间:
2020-03-14 16:44:52
阅读次数:
101
1 css语法 2 css导入样式 3 css选择器 3 1 基本选择器 3 2 组合选择器 3 3 分组和嵌套 3 4 属性选择器 3 5 伪类选择器 3 6 伪元素选择器 4 CSS选择器的优先级 5 css属性 5 1 文字相关的属性 5 2 宽度和高度 5 3 背景background 5 ...
分类:
Web程序 时间:
2020-03-14 01:21:57
阅读次数:
69
<template> <div id="app"> <div class="y_bj" :style="y_bj"></div> </div> </template> <script> import { Toast } from "vant"; export default { data() { r ...
分类:
其他好文 时间:
2020-03-13 20:53:39
阅读次数:
1162
1、在css中使用background引入static目录下的图片时,需使用相对路径例:background: url("../../../static/img/1.png");2、build > utils.js 添加代码 publicPath:'../../' 3、config > index. ...
分类:
Web程序 时间:
2020-03-12 18:55:52
阅读次数:
72
先上图 github连接 安装 yarn install / npm install 运行 npm run dev 使用 .icon-table{ background: url('build/styles/images/table.png') no-repeat center; } // or . ...
分类:
其他好文 时间:
2020-03-12 18:49:29
阅读次数:
80
JVM | 垃圾回收Java垃圾回收的概念垃圾回收器安全点和安全区域 Java垃圾回收的概念如何判断哪些是垃圾对象,引用计数法,根搜索算法哪些是GC RootsJVM栈中的引用方法区静态变量的引用JNI(即native方法)中的引用方法区(永久代)会发生GC吗,会回收哪些对象?方法区的垃圾回收主要回... ...
分类:
其他好文 时间:
2020-03-12 09:20:50
阅读次数:
72
动画 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>canvas</title> <style> .canvas{border:1px solid #abcdef;background-color: #a9 ...
分类:
其他好文 时间:
2020-03-11 23:45:59
阅读次数:
60