• JSD-2204-HTML-CSS-Day03


    1.css

    1.1CSS三大特性

    • 继承: 指元素可以继承上级元素文本和字体相关的样式,部分标签自带效果不受继承影响,比如超链接的字体颜色
    • 层叠: 多个选择器可以选择到同一个元素, 如果作用的样式不同,层叠性指的是可以将多个不同的样式层叠到一起显示, 如果作用的样式相同则由优先级决定哪个生效.
    • 优先级: 指选择器的优先级, 作用范围越小 优先级会越高,
    • !important>id选择器>class选择器>标签名选择器>继承(间接选中)
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. #d1{
    8. color: red;
    9. }
    10. div{
    11. color: green;
    12. }
    13. /*!important 提升样式的优先级为最高 */
    14. p{color: blue !important;}
    15. #p1{color: yellow }
    16. </style>
    17. </head>
    18. <body>
    19. <div id="d1">
    20. <p id="p1">这是个p标签</p>
    21. <span>这是一个span</span>
    22. <div><p>这个p是孙子元素</p></div>
    23. <a href="">超链接</a>
    24. </div>
    25. </body>
    26. </html>

    1.2居中相关内容

    • 如果元素是块级元素,让元素自身居中使用margin:0 auto,如果让元素内容居中则使用text-align:center
    • 如果元素是行内块元素, 让元素自身居中 需要给上级添加text-align:center , 内容居中也是text-align:center;
    • 如果元素是行内元素,让元素自身居中 需要给上级添加text-align:center ,内容居中(不存在)

    1.2.1综合练习1 

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. body{
    8. font: 12px "simhei", Arial, Helvetica, sans-serif;
    9. color: #666;
    10. }
    11. body>div{
    12. width: 611px;
    13. height: 376px;
    14. background-color: #e8e8e8;
    15. background-image: url("http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img1.png");
    16. background-size: 318px 319px;
    17. background-repeat: no-repeat;
    18. background-position: 90% 90%;
    19. overflow: hidden;
    20. }
    21. div>div{
    22. width: 245px;
    23. height: 232px;
    24. margin: 68px 0 0 36px;
    25. }
    26. .title_p{
    27. font-size: 32px;
    28. color: #333;
    29. margin-bottom: 12px;
    30. }
    31. .price_p{
    32. font-size: 24px;
    33. color: #0aa1ed;
    34. font-weight: bold;
    35. margin-bottom: 12px;
    36. }
    37. a{
    38. background-color: #0aa1ed;
    39. width: 132px;
    40. height: 40px;
    41. display: block;
    42. text-align: center;
    43. line-height: 40px;
    44. font-size: 20px;
    45. color: white;
    46. text-decoration: none;
    47. border-radius: 3px;
    48. }
    49. </style>
    50. </head>
    51. <body>
    52. <div>
    53. <div>
    54. <p class="title_p">灵越 燃7000系列</p>
    55. <p class="intro_p">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
    56. 英特尔HD显卡620含共享显卡内存</p>
    57. <p class="price_p">¥4999.00</p>
    58. <a href="">查看详情</a>
    59. </div>
    60. </div>
    61. </body>
    62. </html>

    1.2.2综合练习2

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. body{
    8. font: 12px "simhei", Arial, Helvetica, sans-serif;
    9. color: #666;
    10. }
    11. body>div{
    12. width: 375px;
    13. height: 376px;
    14. background-color: #e8e8e8;
    15. background-image: url("http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img2.png");
    16. background-size: 292px 232px;
    17. background-repeat: no-repeat;
    18. background-position: 90% 90%;
    19. overflow: hidden;
    20. }
    21. div>div{
    22. width: 252px;
    23. height: 232px;
    24. margin: 39px 0 0 25px;
    25. }
    26. .title_p{
    27. font-size: 32px;
    28. color: #333333;
    29. margin-bottom: 12px;
    30. }
    31. .price_p{
    32. font-size: 24px;
    33. color: #0aa1ed;
    34. margin-bottom: 12px;
    35. font-weight: bold;
    36. }
    37. a{
    38. background-color: #0aa1ed;
    39. width: 132px;
    40. height: 40px;
    41. color: white;
    42. text-align: center;
    43. line-height: 40px;
    44. display: block;
    45. font-size: 20px;
    46. text-decoration: none;
    47. border-radius: 3px;
    48. }
    49. </style>
    50. </head>
    51. <body>
    52. <div>
    53. <div>
    54. <p class="title_p">颜值 框不住</p>
    55. <p>酷睿双核i5处理器|256GB SSD| 8GB内存<br>
    56. 英特尔HD显卡620含共享显卡内存</p>
    57. <p class="price_p">¥6888.00</p>
    58. <a href="">查看详情</a>
    59. </div>
    60. </div>
    61. </body>
    62. </html>

    1.2.3综合练习3 

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. body{
    8. font: 12px "simhei", Arial, Helvetica, sans-serif;
    9. color: #666;
    10. }
    11. body>div{
    12. width: 198px ;
    13. height: 233px;
    14. background-color: #e8e8e8;
    15. text-align: center;
    16. }
    17. .title_p{
    18. margin-top: 0;
    19. color: #000;
    20. margin-bottom: 6px;
    21. }
    22. .price_p{
    23. margin: 6px 0;
    24. color: #0aa1ed;
    25. font-weight: bold;
    26. }
    27. a{
    28. display: inline-block;
    29. background-color: #0aa1ed;
    30. width: 100px;
    31. height: 24px;
    32. /*上下0 左右auto(居中),
    33. 让块级元素的文本内容居中使用text-align:center;
    34. 让块级元素自身在所在行内居中使用margin:0 auto*/
    35. /*margin: 0 auto;*/
    36. text-decoration: none;
    37. color: white;
    38. line-height: 24px;
    39. border-radius: 3px;
    40. }
    41. </style>
    42. </head>
    43. <body>
    44. <div>
    45. <img src="http://doc.canglaoshi.org/tstore_v1/images/itemCat/study_computer_img3.png" alt="">
    46. <p class="title_p">戴尔(DELL)XPS13-9360-R1609 13.3英寸微边框笔记本电脑</p>
    47. <p class="price_p">¥4600.00</p>
    48. <a href="">查看详情</a>
    49. </div>
    50. </body>
    51. </html>

    1.3定位方式

    • 共五种定位方式:
      • 静态定位
      • 相对定位
      • 绝对定位
      • 固定定位
      • 浮动定位

    1.4定位方式之静态定位

    • 默认的定位方式,也叫作文档流定位
    • 格式: position:static
    • 特点: 元素以左上为基准 , 块级元素从上往下依次排列, 行内元素从左向右依次排列
    • 通过外边距控制元素的位置
    • 无法实现元素层叠显示

    1.5定位方式之相对定位

    • 格式: position: relative;
    • 特点: 元素不脱离文档流(不管元素显示到什么位置都占着原来的位置)
    • 通过left/right/top/bottom相对于元素的初始位置做偏移
    • 相对定位可以实现元素层叠效果
    • 应用场景: 当需要移动某一个元素,而且其它元素不受影响时
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. div{width: 100px;height: 100px;border: 1px solid red}
    8. div:hover{
    9. /*margin: 20px 0 0 20px;*/
    10. /*修改定位方式为相对定位*/
    11. position: relative;
    12. top: 20px;
    13. left: 20px;
    14. }
    15. </style>
    16. </head>
    17. <body>
    18. <div>div1</div>
    19. <div>div2</div>
    20. <div>div3</div>
    21. </body>
    22. </html>

    1.6定位方式之绝对定位

    • 格式: position:absolute;
    • 特点: 元素脱离文档流(不占原来的位置,后面的元素会顶上来)
    • 通过left/right/top/bttom相对于窗口或某一个上级元素做位置偏移
    • 应用场景:需要层叠显示并且元素不需要占原来的位置
    • 相对定位和绝对定位区别:
      • 相对定位不脱离文档流(占位置) 绝对定位脱离文档流不占位置
      • 相对定位参照物是原来位置, 绝对定位参照物是窗口(默认)或某一个上级元素
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. div{width: 100px;height: 100px;border: 1px solid red}
    8. #d1{
    9. /*设置为绝对定位,元素脱离文档流*/
    10. position: absolute;
    11. /*相对于窗口做位置偏移*/
    12. right: 20px;
    13. bottom: 50px;
    14. }
    15. #big{
    16. width: 200px;
    17. height: 200px;
    18. background-color: red;
    19. margin: 100px 0 0 100px;
    20. }
    21. #big>div{
    22. width: 100px;
    23. height: 100px;
    24. background-color: green;
    25. margin: 50px 0 0 50px;
    26. /*如果想让绝对定位的元素位置偏移 以某个元素做参照物需要给元素添加相对定位*/
    27. position: relative;/*做参照物*/
    28. }
    29. #big>div>div{
    30. width: 50px;
    31. height: 50px;
    32. background-color: blue;
    33. position: absolute;
    34. left: 0;
    35. top: 0;
    36. }
    37. </style>
    38. </head>
    39. <body>
    40. <div id="big">
    41. <div>
    42. <div></div>
    43. </div>
    44. </div>
    45. <div id="d1">div1</div>
    46. <div>div2</div>
    47. <div>div3</div>
    48. </body>
    49. </html>

    1.6.1绝对定位练习

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. body>div{
    8. width: 300px;
    9. background-color: rgba(0,0,0,0.3);
    10. padding: 10px;/*内容缩进10个像素*/
    11. position: relative;/*做参照物*/
    12. }
    13. input{
    14. width: 260px; /*300-40=260*/
    15. border: 0;/*去掉自带边框*/
    16. padding: 10px 20px;/**/
    17. }
    18. img{
    19. position: absolute;
    20. right: 40px;
    21. top: 14px;
    22. }
    23. p{
    24. font-size: 12px;
    25. color: red;
    26. margin: 0;
    27. }
    28. </style>
    29. </head>
    30. <body>
    31. <div>
    32. <input type="text">
    33. <img src="http://doc.canglaoshi.org/tstore_v1/images/login/yhm.png" alt="">
    34. <p>用户名不能为空!</p>
    35. </div>
    36. </body>
    37. </html>

    1.7定位方式之固定定位

    • 格式: position:fixed;
    • 特点: 元素脱离文档流, 元素固定在窗口的某个位置 不随内容位置的移动而移动.
    • 通过left/right/top/bottom相对于窗口做位置偏移

    1.8position定位回顾:

    1. 静态定位: static(默认) 无法层叠显示, 元素以左上为基准, 通过外边距
    2. 相对定位: relative 不脱离文档流, 通过left/right/top/bottom相对于初始位置做偏移
    3. 绝对定位: absolute 脱离文档流,通过left/right/top/bottom相对窗口或某一个上级元素
    4. 固定定位: fixed 脱离文档流, 通过left/right/top/bottom相对窗口做位置偏移
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. #d1{
    8. width: 1000px;
    9. height: 100px;
    10. background-color: red;
    11. /*设置固定定位*/
    12. position: fixed;
    13. top: 0;
    14. }
    15. body{
    16. padding-top: 100px;/*避免内容被盖上*/
    17. }
    18. #d2{
    19. width: 50px;
    20. height: 200px;
    21. background-color: blue;
    22. position: fixed;
    23. right: 20px;
    24. bottom: 50px;
    25. }
    26. </style>
    27. </head>
    28. <body>
    29. <div id="d1"></div>
    30. <div id="d2"></div>
    31. <img src="../b.jpg" alt="">
    32. <img src="../b.jpg" alt="">
    33. <img src="../b.jpg" alt="">
    34. <img src="../b.jpg" alt="">
    35. <img src="../b.jpg" alt="">
    36. <img src="../b.jpg" alt="">
    37. <img src="../b.jpg" alt="">
    38. </body>
    39. </html>

    1.9浮动定位

    • 格式: float:left/right;
    • 特点: 元素脱离文档流,从当前所在行向左或向右浮动,当撞到上级元素边缘或其它浮动元素时停止
    • 一行装不下时会自动折行,折行时有可能被卡主
    • 如果某个元素的所有子元素全部浮动,则自动识别的高度为0, 后面的元素会顶上来(如果被盖的内容有文字,文字会被挤出来) 最终可能导致显示异常, 给元素添加overflow:hidden可以解决此问题
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <title>Title</title>
    6. <style>
    7. body>div{
    8. width: 200px;
    9. border: 1px solid red;
    10. overflow: hidden;/*解决高度识别为0,带来的显示异常*/
    11. }
    12. #d1{
    13. width: 50px;height: 50px;
    14. background-color: red;
    15. float: left;
    16. }
    17. #d2{
    18. width: 50px;height: 50px;
    19. background-color: green;
    20. float: left;
    21. }
    22. #d3{
    23. width: 50px;height: 50px;
    24. background-color: blue;
    25. float: left;
    26. }
    27. #d4{
    28. width: 300px;
    29. height: 300px;
    30. }
    31. ul{
    32. list-style-type: none;/*去掉列表图标*/
    33. overflow: hidden; /*解决子元素全部浮动 自动识别高度为0 的问题*/
    34. }
    35. li{
    36. float: left;
    37. margin-right: 20px;
    38. }
    39. </style>
    40. </head>
    41. <body>
    42. <ul>
    43. <li><a href="">首页</a></li>
    44. <li><a href="">免费课</a></li>
    45. <li><a href="">直播课</a></li>
    46. <li><a href="">精品课</a></li>
    47. <li><a href="">线上班</a></li>
    48. </ul>
    49. <div>
    50. <div id="d1"></div>
    51. <div id="d2"></div>
    52. <div id="d3"></div>
    53. </div>
    54. <div id="d4">我是粉色的</div>
    55. </body>
    56. </html>

    1.9.1综合练习

    1. <!DOCTYPE html>
    2. <html>
    3. <head>
    4. <meta charset="utf-8">
    5. <title></title>
    6. <style type="text/css">
    7. *{
    8. }
    9. body{
    10. font: 12px "simhei", Arial, Helvetica, sans-serif;
    11. color: #666;
    12. }
    13. #div01{
    14. width: 366px;
    15. height: 233px;
    16. background-color: #E8E8E8;
    17. }
    18. #top_div{
    19. width: 366px;
    20. height: 35px;
    21. background-color: #0AA1ED;
    22. line-height: 35px;
    23. }
    24. span{
    25. margin: 0 9px 0 0 ;
    26. font-size: 16px;
    27. color: #FFFFFF;
    28. line-height: 35px;
    29. }
    30. img{
    31. margin-top: 5px;
    32. margin-left: 5px;
    33. float: left;
    34. }
    35. ul{
    36. list-style: none;
    37. overflow: hidden;
    38. padding: 0px;
    39. }
    40. li{
    41. float: left;
    42. margin-left: 10px;
    43. margin-bottom: 10px;
    44. }
    45. .c_div{
    46. width: 366px;
    47. color: #0AA1ED;
    48. font-size: 12px;
    49. }
    50. .c_div>p{
    51. margin-left: 10px;
    52. }
    53. li>a{
    54. color: #0AA1ED;
    55. text-decoration: dashed;
    56. }
    57. </style>
    58. </head>
    59. <body>
    60. <div id="div01">
    61. <div id="top_div"><img src="computer_icon1.png" alt=""><span>&nbsp;&nbsp;电脑,办公/1F</span></div>
    62. <div class="c_div">
    63. <p>电脑壁纸</p>
    64. <ul>
    65. <li><a href="">笔记本</a></li>
    66. <li><a href="">游戏机</a></li>
    67. <li><a href="">台式机</a></li>
    68. <li><a href="">一体机</a></li>
    69. <li><a href="">服务器</a></li>
    70. <li><a href="">联想</a></li>
    71. </ul>
    72. </div>
    73. <div class="c_div">
    74. <p>电脑配件</p>
    75. <ul>
    76. <li><a href="">CPU</a></li>
    77. <li><a href="">SSD硬盘</a></li>
    78. <li><a href="">显示器</a></li>
    79. <li><a href="">显卡</a></li>
    80. <li><a href="">组装电脑</a></li>
    81. <li><a href="">机箱</a></li>
    82. </ul>
    83. </div>
    84. <div class="c_div">
    85. <p>外设/游戏</p>
    86. <ul>
    87. <li><a href="">键盘</a></li>
    88. <li><a href="">鼠标</a></li>
    89. <li><a href="">U盘</a></li>
    90. <li><a href="">移动硬盘</a></li>
    91. <li><a href="">游戏设备</a></li>
    92. <li><a href="">智能单车</a></li>
    93. </ul>
    94. </div>
    95. </div>
    96. </body>
    97. </html>

    1.10将上述综合练习进行总结

    1. <!DOCTYPE html>
    2. <html>
    3. <head>
    4. <meta charset="utf-8">
    5. <title></title>
    6. <style type="text/css">
    7. body{
    8. font: 12px "simhei", Arial, Helvetica, sans-serif;
    9. color: #666;
    10. }
    11. *{}
    12. #wai{
    13. float: left;
    14. width: 611px;
    15. height: 376px;
    16. background-color: #e8e8e8;
    17. background-image: url(study_computer_img1.png);
    18. background-repeat: no-repeat;
    19. background-size: 318px 319px;
    20. background-position: 90% 90%;
    21. overflow: hidden;
    22. }
    23. #nei{
    24. width: 255px;
    25. height: 242;
    26. padding:5px;
    27. margin-top: 68px;
    28. margin-left: 36px;
    29. }
    30. #wai1{
    31. margin-left: 10px;
    32. float: left;
    33. display: inline-block;
    34. width: 375px;
    35. height: 376px;
    36. background-color: #e8e8e8;
    37. background-image: url(study_computer_img2.png);
    38. background-repeat: no-repeat;
    39. background-size: 292px 232px;
    40. background-position: 85% 90%;
    41. overflow: hidden;
    42. }
    43. #nei1{
    44. width: 261px;
    45. height: 240px;
    46. padding:5px;
    47. margin-top: 39px;
    48. margin-left: 25px;
    49. }
    50. .title_P{
    51. margin-top: 0;
    52. color: #333333;
    53. font-size: 32px;
    54. margin-bottom: 12px;
    55. font-weight: lighter;
    56. }
    57. .intro_p{
    58. margin-bottom: 24px;
    59. font-size: 12px;
    60. font-weight: lighter;
    61. }
    62. .price_p{
    63. margin-bottom: 12px;
    64. font-weight: bold;
    65. color: #0AA1ED;
    66. font-size: 24px;
    67. }
    68. .a1{
    69. display: block;
    70. width: 132px;
    71. height: 40px;
    72. line-height: 40px;
    73. text-align: center;
    74. background-color: #0AA1ED;
    75. font-size: 20px;
    76. color: white;
    77. text-decoration: dashed;
    78. border-radius: 3px;
    79. }
    80. #bigdiv{
    81. overflow: hidden;
    82. width: 1000px;
    83. height: 376px;
    84. }
    85. #div01{
    86. float: left;
    87. width: 366px;
    88. height: 233px;
    89. background-color: #E8E8E8;
    90. }
    91. #top_div{
    92. width: 366px;
    93. height: 35px;
    94. background-color: #0AA1ED;
    95. line-height: 35px;
    96. }
    97. span{
    98. margin: 0 9px 0 0 ;
    99. font-size: 16px;
    100. color: #FFFFFF;
    101. line-height: 35px;
    102. }
    103. img{
    104. margin-top: 5px;
    105. margin-left: 5px;
    106. float: left;
    107. }
    108. ul{
    109. list-style: none;
    110. overflow: hidden;
    111. padding: 0px;
    112. }
    113. li{
    114. float: left;
    115. margin-left: 10px;
    116. margin-bottom: 10px;
    117. }
    118. .c_div{
    119. width: 366px;
    120. color: #0AA1ED;
    121. font-size: 12px;
    122. }
    123. .c_div>p{
    124. margin-left: 10px;
    125. }
    126. li>a{
    127. color: #0AA1ED;
    128. text-decoration: dashed;
    129. }
    130. .d1{
    131. float: left;
    132. width: 198px;
    133. height: 233px;
    134. text-align: center;
    135. background-color: #e8e8e8;
    136. margin-left: 12px;
    137. }
    138. .intro_p1{
    139. margin-top: 0;
    140. color: #000000;
    141. margin-bottom: 6px;
    142. }
    143. .price_p1{
    144. margin-top: 0;
    145. margin-bottom: 6px;
    146. font-size: 12px;
    147. font-weight: bold;
    148. color: #0AA1ED;
    149. }
    150. .a2{
    151. display: block;
    152. width: 100px;
    153. height: 24px;
    154. color: white;
    155. background-color: #0AA1ED;
    156. margin: 0 auto;
    157. line-height: 24px;
    158. text-decoration: solid;
    159. border-radius: 3px;
    160. }
    161. #bigdiv1{
    162. margin-top: 10px;
    163. width: 1000px;
    164. overflow: hidden;
    165. }
    166. </style>
    167. </head>
    168. <body>
    169. <div id="bigdiv">
    170. <div id="wai">
    171. <div id="nei">
    172. <p class="title_P">灵越 燃7000系列</p>
    173. <p class="intro_p">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
    174. 英特尔HD显卡620含共享显卡内存</p>
    175. <p class="price_p">¥4999.00</p>
    176. <a href="" class="a1">查看详情</a>
    177. </div>
    178. </div>
    179. <div id="wai1">
    180. <div id="nei1">
    181. <p class="title_P">颜值 框不住</p>
    182. <p class="intro_p">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
    183. 英特尔HD显卡620含共享显卡内存</p>
    184. <p class="price_p">¥6888.00</p>
    185. <a href="" class="a1">查看详情</a>
    186. </div>
    187. </div>
    188. </div>
    189. <div id="bigdiv1">
    190. <div id="div01">
    191. <div id="top_div"><img src="computer_icon1.png" alt=""><span>&nbsp;&nbsp;电脑,办公/1F</span></div>
    192. <div class="c_div">
    193. <p>电脑壁纸</p>
    194. <ul>
    195. <li><a href="">笔记本</a></li>
    196. <li><a href="">游戏机</a></li>
    197. <li><a href="">台式机</a></li>
    198. <li><a href="">一体机</a></li>
    199. <li><a href="">服务器</a></li>
    200. <li><a href="">联想</a></li>
    201. </ul>
    202. </div>
    203. <div class="c_div">
    204. <p>电脑配件</p>
    205. <ul>
    206. <li><a href="">CPU</a></li>
    207. <li><a href="">SSD硬盘</a></li>
    208. <li><a href="">显示器</a></li>
    209. <li><a href="">显卡</a></li>
    210. <li><a href="">组装电脑</a></li>
    211. <li><a href="">机箱</a></li>
    212. </ul>
    213. </div>
    214. <div class="c_div">
    215. <p>外设/游戏</p>
    216. <ul>
    217. <li><a href="">键盘</a></li>
    218. <li><a href="">鼠标</a></li>
    219. <li><a href="">U盘</a></li>
    220. <li><a href="">移动硬盘</a></li>
    221. <li><a href="">游戏设备</a></li>
    222. <li><a href="">智能单车</a></li>
    223. </ul>
    224. </div>
    225. </div>
    226. <div class="d1">
    227. <img src="study_computer_img3.png" alt="" width="198px" height="136px">
    228. <p class="intro_p1">戴尔(DELL)XPS13-9360-R1609 13.3英
    229. <br>寸微边框笔记本电脑</p>
    230. <p class="price_p1">¥4600.00</p>
    231. <a href="" class="a2">查看详情</a>
    232. </div>
    233. <div class="d1">
    234. <img src="study_computer_img4.png" alt="" width="198px" height="136px">
    235. <p class="intro_p1">戴尔(DELL)XPS13-9360-R1609 13.3英
    236. <br>寸微边框笔记本电脑</p>
    237. <p class="price_p1">¥4600.00</p>
    238. <a href="" class="a2">查看详情</a>
    239. </div>
    240. <div class="d1">
    241. <img src="study_computer_img5.png" alt="" width="198px" height="136px">
    242. <p class="intro_p1">戴尔(DELL)XPS13-9360-R1609 13.3英
    243. <br>寸微边框笔记本电脑</p>
    244. <p class="price_p1">¥4600.00</p>
    245. <a href="" class="a2">查看详情</a>
    246. </div>
    247. </div>
    248. </body>
    249. </html>

  • 相关阅读:
    Ubuntu为什么键盘会出现乱字符
    Ubuntu环境下遇到的问题与解决方法
    怎么高效学习Java进阶技能 需要掌握哪些知识
    Docker部署Logstash 7.2.0
    3.x名称空间详解
    零代码编程:用ChatGPT批量采集bookroo网页上的英文书目列表
    动态内存与智能指针
    在Ubuntu20.04安装StarRocks On Docker并在DataGrip配置JDBC协议连接容器内StarRocks2.3.2
    视频通话中的Camera操作
    MySQL---基本的select语句
  • 原文地址:https://blog.csdn.net/TheNewSystrm/article/details/125527996