CSS知识点及面试题 1、一般与文本相关的属性都可以继承text-/font-/line- 2、background属性1)background-repeat:repeat/repeat-x/repeat-y/no-repeat2)background-position:默认0 0 只指定一个值,其 ...
分类:
Web程序 时间:
2019-03-31 15:31:23
阅读次数:
171
#include void print_cards(int num); int main(void) { int repeat_times,i,j; scanf("%d",&repeat_times); getchar(); int original[54],loc[54],result[54]; ... ...
分类:
系统相关 时间:
2019-03-31 09:31:25
阅读次数:
175
当每0.01秒进行一次repeat操作时,NSTimer是不准的,严重滞后,而改成0.1秒repeat操作,则这种滞后要好一些。 导致误差的原因是我在使用“scheduledTimerWithTimeInterval”方法时,NSTimer实例是被加到当前runloop中的,模式是NSDefault ...
分类:
编程语言 时间:
2019-03-29 17:46:43
阅读次数:
167
HTML中 <ul class="lists"> <li class="list-item" v-for="(item,index) in rank" :key="index"> <span class="name"> <i v-if="index < 3" class="icon" :class= ...
分类:
其他好文 时间:
2019-03-27 11:00:47
阅读次数:
176
https://blog.csdn.net/game_jqd/article/details/51899000 使用Profiler工具分析内存占用情况 System.ExecutableAndDlls:系统可执行程序和DLL,是只读的内存,用来执行所有的脚本和DLL引用。不同平台和不同硬件得到的值 ...
分类:
编程语言 时间:
2019-03-16 12:30:49
阅读次数:
179
背景属性 1.文本 1.文本颜色:color 颜色属性被用来设置文字的颜色。 颜色是通过CSS最经常的指定: 十六进制值 - 如: #FF0000 一个RGB值 - 如: RGB(255,0,0) 颜色的名称 - 如: red 2.水平对齐方式 text-align 属性规定元素中的文本的水平对齐方 ...
分类:
Web程序 时间:
2019-03-14 01:08:29
阅读次数:
184
from win32com import client import time import random from lxml import etree dirver = client.DispatchEx("InternetExplorer.Application") dirver.Navigat... ...
分类:
其他好文 时间:
2019-03-12 18:09:10
阅读次数:
558
题目 Given an array A of integers, we must modify the array in the following way: we choose an i and replace A[i] with A[i], and we repeat this process ...
分类:
其他好文 时间:
2019-03-10 19:08:06
阅读次数:
144
预加载 方法一:CSS实现预加载 1 #preload-01 { background: url(http://domain.tld/image-01.png) no-repeat -9999px -9999px; } 2 #preload-02 { background: url(http://d ...
分类:
其他好文 时间:
2019-03-10 13:48:25
阅读次数:
138
模拟垂直滚动条,效果如图所示 html common.js // 判断数组是否还有这个元素 function include(arr, item) { for(var i = 0; i max) { var a = min; min = max; max = a; } return min + Ma ...
分类:
其他好文 时间:
2019-03-07 22:06:07
阅读次数:
185