2020年11月12日

摘要: <!DOCTYPE html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> . 阅读全文
posted @ 2020-11-12 21:14 学不会-K 阅读(99) 评论(0) 推荐(0)
 
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-11-12 20:52 学不会-K 阅读(56) 评论(0) 推荐(0)
 
摘要: 绝对定位: /开头 父节点/子节点 绝对路径:从根目录开始,一直到当前的目录。 绝对定位:从根结点开始,一直到当前的结点。结点顺序/结点位置相对定位: //开头// 相对路径:相对参照物。// 相对于前面节点。如果//在开头,那就是相对整个html 定位原则: 1、不依靠节点顺序和节点位置 2、只要 阅读全文
posted @ 2020-11-12 15:15 学不会-K 阅读(145) 评论(0) 推荐(0)