正在回答
3回答
你好,建议参考代码如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | <!DOCTYPE html> < html > < head > < meta charset = "UTF-8" > < title >Document</ title > < style > /*-- About Section --*/ .about{ width: 1080px; padding-top:50px; background-color:white; margin:0 auto; position:relative; overflow: hidden; } h3{ color: #000; font-size: 50px; text-align:center; } label.line{ background-color:#07cbc9; display:block; width: 40px; height: 2px; margin:15px auto; } h4{ font-size:35px; font-weight:normal; } h6{ color: #BDBDBC; padding-bottom: 30px; width: 45%; margin: 0 auto; font-size: 15px; line-height: 25px; text-align:center; } .p{ color: #797979; padding-bottom: 30px; width: 45%; margin: 0 auto; font-size: 15px; line-height: 25px; text-align:center; } .img{ float: left; margin: 0 35px; height: 380px; } .aboutleftbottom { border: 1px solid #C5C5C5; padding: 25px 25px; text-align: left; position: absolute; width: 320px; top: 350px; color: black; background-color: rgba(255, 255, 255, 0.4); } .aboutleftbottom p{ margin-bottom:10px; line-height:25px; } </ style > </ head > < body > < div id = "about" style = "witdh:100%" > < div class = "about" > < div class = "abouttop" > < h3 >ABOUT</ h3 > < label class = "line" ></ label > < p class = "p" >Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. </ p > < div class = "img" > < img height = "100%" src = "images/bb3.jpg" > </ div > < div class = "aboutmiddle" > < div class = "aboutleftbottom" > < p >Praesent dignissim viverra est, sed bibendum ligula congue non. Sed ac nisl et felis gravida commodo? Suspendisse eget ullamcorper ipsum. Suspendisse diam amet.</ p > < a href = "#" data-toggle = "modal" data-target = "#myModal" >EXPLORE</ a > </ div > </ div > </ div > </ div > </ div > </ body > </ html > |
或者贴出您的源码,如果解决您的问题请采纳,祝学习愉快!
2. 从网页搭建入门JavaWeb
- 参与学习 人
- 提交作业 676 份
- 解答问题 9666 个
本阶段将从前端网页搭建入手,到Java Web基础,前后端结合助你完成Java Web小白的蜕变!
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧