• 02-CSS基础与进阶-day9_2018-09-12-21-50-58


    鼠标相关样式
    参考代码或http://www.w3school.com.cn/cssref/pr_class_cursor.asp
    表单轮廓线
    取消轮廓线 outline: 0;
    防止文本域拖拽 resize:none;

    word-break

    white-space

    vertical-align

    css精灵图

    滑动门


    css3
    2d
    3d

    BFC

    08鼠标相关样式.html

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <style type="text/css">
           p:nth-child(1) {
                  cursor: default;
           }
    
           p:nth-child(2) {
                  cursor: pointer;
           }
    
           p:nth-child(3) {
                  cursor: text;
           }
    
           p:nth-child(4) {
                  cursor: move;
           }
    
           p:nth-child(5) {
                  cursor: help;
           }
    
           p:nth-child(6) {
                  cursor: wait;
           }
        </style>
    </head>
    <body>
        <div>
            <p>aaaa</p>
            <p>bbbb</p>
            <p>ccccc</p>
            <p>ddddd</p>
            <p>eeeee</p>
            <p>fffff</p>
        </div>
    </body>
    </html>

    09表单轮廓线.html

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <style type="text/css">
           input {
                  /* outline: 4px solid red; */
                  /* border: 1px solid yellow; */
                  outline: 0;  
           }
    
           textarea {
                  outline: 0;
                  resize: none;
           } 
        </style>
    </head>
    <body>
        <input type="text /">
        <textarea name="" id="" cols="30" rows="10"></textarea>
        <p>段落</p>
    </body>
    </html>
  • 相关阅读:
    win10上使用linux命令
    leetcode--js--Median of Two Sorted Arrays
    leetcode--js--Longest Substring Without Repeating Characters
    Linux常用的命令
    微信小程序
    leetcode—js—Add Two Numbers
    PHPExcel使用
    console控制台的用法
    git中常混淆的操作
    mysql解析json下的某个字段
  • 原文地址:https://www.cnblogs.com/HiJackykun/p/11072123.html
Copyright © 2020-2023  润新知