ICode9

精准搜索请尝试: 精确搜索
  • vue+css 写一个时间轴2021-10-19 17:59:15

    <template > <div> <ul> <li v-for="(item,index) in 220" :key="index"> </li> </ul> </div> </template> <style > body{ background: gray; margin: 0px; padding: 0px

  • css选择器2021-10-19 15:00:26

    一、层次选择器   例如: body p{ background: red; } // body下所有p标签 body>p{ background: pink; } // bod下第一层子级所有p标签 .active+p { background: green; } // 类active后边第一个p标签颜色改变 .active~p{ background: yellow; } // 类active后边所有p标签颜

  • Selenium API2021-10-18 21:34:54

    Selenium API基础 元素的定位 1.元素的定位(id) from selenium import webdriver driver = webdriver.Firefox() driver.get("https://www.baidu.com/") # 定位元素id skr = driver.find_element_by_id("kw") # 输入内容 skr.send_keys("12306") 2.元素的定位(name)

  • 【CSS3】CSS3全部伪类大全汇总2021-10-17 18:06:15

    参考:CSS 伪类 所有 CSS 伪类 选择器例子例子描述:activea:active选择活动的链接。:checkedinput:checked选择每个被选中的 <input> 元素。:disabledinput:disabled选择每个被禁用的 <input> 元素。:emptyp:empty选择没有子元素的每个 <p> 元素。:enabledinput:enabled选择每个

  • 2021-10-152021-10-15 09:04:46

    CSS3新增特性 CSS3新增选择器属性选择器总结: 结构伪类选择器示例代码:E:nth-child 与 E:nth-of-type 的区别:总结: 伪元素选择器示例代码总结: 盒子模型其他特性图标变模糊 -- CSS3滤镜filter语法: 计算盒子宽度 -- calc 函数语法: CSS3 过渡语法: CSS3新增选择器 属性选择器

  • 纯CSS实现横向瀑布流代码记录2021-10-12 18:02:52

    <div class="container"> <div class="item" style="height: 140px"></div> <div class="item" style="height: 190px"></div> <div class="item" style="height:

  • 说说伪类和伪元素2021-10-10 18:02:15

    定义 伪类 选择元素基于的是当前元素处于的状态,或者说元素当前所具有的特性,而不是元素的id、class、属性等静态的标志。由于状态是动态变化的,所以一个元素达到一个特定状态时,它可能得到一个伪类的样式;当状态改变时,它又会失去这个样式。由此可以看出,它的功能和class有些类似,但

  • 前端速成(13)css2021-10-07 12:33:14

               注:以前全是用div实现,而且表单的数据类型输入也应该有限制            section代替div                           <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content=

  • 02_移动端-结构伪类选择器2021-10-03 09:03:59

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=

  • 10.盒子模型2021-10-02 17:33:29

    1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 7 <style> 8 /*body总有一个默认的外边距margin=0,常规操作*/ 9 /*h1,ul,li,a,

  • 北大青鸟有好货2021-10-02 14:03:42

    有好货代码分享 有好货代码分享 css代码: <style> /*清除所以的内外边距*/ * { margin: 0; padding: 0; } /*设置body的背景颜色*/ body { background-color: #808080; } /*设

  • 转载:CSS3之伪元素选择器和伪类选择器2021-09-26 16:01:52

     原始链接:CSS3之伪元素选择器和伪类选择器 - zcynine - 博客园伪类选择器,和一般的DOM中的元素样式不一样,它并不改变任何DOM内容。只是插入了一些修饰类的元素,这些元素对于用户来说是可见的,但是对于DOM来说不可见。伪类的效果可以通过添加一个实际的类来达到。ahttps://www.cnbl

  • 17CSS3选择器——伪类选择器一2021-09-26 11:02:16

    文章目录 1、E:root2、E:nth-child(n)3、E:nth-last-child(n)4、E:nth-of-type(n)5、E:nth-last-of-type(n)6、E:last-child7、E:first-of-type8、E:last-of-type9、E:only-child10、E:only-of-type11、E:empty12、E:target13、E:not(s)14、E:enabled & E:disabled15、E:ch

  • Python+Selenium实现滑块|下拉框2021-09-21 20:03:48

    一、实现滑块 # 跟网络状况有关,可以适当的sleep(3) from selenium import webdriver from time import sleep from selenium.webdriver.common.action_chains import ActionChains # 打开浏览器并加载项目地址-->携程注册页面 driver = webdriver.Chrome() driver.get("http

  • WEB前端优化--HTML/CSS优化2021-09-19 18:57:51

    web前端优化系列 优化1:能用HTML/CSS解决的问题就不要用JS1.1 导航高亮1.2鼠标悬浮显示1.3 自定义radio/checkbox的样式1.4需要根据个数显示不同样式其他 此系列文章是以《高效前端-Web高效编程与优化实践》一书进行整理、记录和扩展的。 优化1:能用HTML/CSS解决的问题就

  • CSS样式_跳动的心脏2021-09-15 18:03:23

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=d

  • 3D动画旋转图(包含代码,图片自找)2021-09-14 14:02:28

    样式: ul, li { margin: 0; padding: 0; list-style: none; } .box { width: 200px; height: 200px; position: relative; margin: 100px auto; animation: rt 5s linear infinite; transform-style: preserve-3d; } .box ul li { position: absolute; left: 50px; top: 50px; w

  • CSS—03—伪类;emmet语法;css属性的继承层叠2021-09-11 10:33:04

      一.  伪类 伪类也是一种选择器; 只不过它的连接符是固定的冒号:,  然后后面的条件也不可以自定义了, 成了它们的固定单词,  比如target, disabled,  hover;       二.伪类具体介绍 1.目标伪类 主要用在锚点中 :target{} 2.元素状态伪类 主要是获取disabled或者enabl

  • 【图像检测】基于Combined Separability Filter实现鼻孔和瞳孔检测matlab源码2021-09-06 13:00:41

    ​ 一、Combined Separability Filter   ​ ​  ​  ​  ​   ​   二、部分代码 clear; X = imread('testimages/sample1.png'); % sample1.png is a gray-scale CG generated face image [H, W] = size(X); S1 = cat(3,X,X,X); % used for displaying final result

  • HTML+css3实现 ❤️全屏图片手风琴效果❤️2021-09-03 14:46:31

        代码目录: 主要代码实现: css样式: * { padding: 0; margin: 0; } ul { list-style: none; } .list { width: 1000px; height: 500px; margin: 150px auto 0; } .list li { /* float:left; 可以使块级元素宽度可以被内容撑开*/ f

  • 利用CSS3创建实用的加载动画效果(两种)2021-08-27 14:34:57

    这次我们继续CSS3效果分享,看看利用利用纯CSS3如何实现加载动画效果,感兴趣的可以学习了解一下~ 本篇文章就来给大家分享两种使用CSS3实现的实用动画效果。这两种方法都是利用animation和@keyframes来实现,下面我们来看看实现代码:第一种效果的实现方法: <!DOCTYPE html> <html> <he

  • vue 实现一个简单的音量/信号强弱组件2021-08-24 10:33:23

    实现效果 1.实现代码 <template> <div class="test"> <ul :style="{ width: config.width + 'px', height: config.height + 'px' }"> <li><span v-if="num >= 10"></span>&

  • nth-child(n)后代选择器IE8不兼容问题2021-08-17 23:32:02

    使用jQuery解决方案: if (navigator.appName === 'Microsoft Internet Explorer') { //判断是否是IE浏览器   if(navigator.userAgent.match(/Trident/i)&&navigator.userAgent.match(/MSIE 8.0/i)) {    $('p:nth-child(2)').css('color','b

  • 【高端】几个关于SCSS中for循环的高级玩法2021-08-06 22:02:03

    简单版 @for $i from 1 through 6 { &:nth-of-type(#{$i}) img { transition-delay: calc(0.1 *#{$i}s);//逐次延时效果 } } 进阶版 @for $i from 1 through length($数组) { $color: nth($数组, $i); &:nth-of-type(#{$i}) { color: $color;//通常用于序列颜色

  • Python爬虫+可视化教学:爬取分析宠物猫咪交易数据2021-08-06 19:33:44

    前言 各位,七夕快到了,想好要送什么礼物了吗? 昨天有朋友私信我,问我能用Python分析下网上小猫咪的数据,是想要送一只给女朋友,当做礼物。 Python从零基础入门到实战系统教程、源码、视频 网上的数据太多、太杂,而且我也不知道哪个网站的数据比较好。所以,只能找到一个猫咪交易网站的数据

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有