当前位置:   article > 正文

大学生自我介绍模板(html+css)(附代码)_编写一个网页介绍自己。代码和结果图片拍照提交。

编写一个网页介绍自己。代码和结果图片拍照提交。

个人介绍网页效果图

(一共分为六个页面,分别为index1,index2,首页,秘密花园,兴趣爱好,人生理想.)

第一个页面-index1:

鼠标移动到字体上时,字体会变大变亮,点击字体跳转到下一个页面.

第二个页面-index2:

主要写人生格言,大概介绍一下自己,当鼠标移动到"欢迎来到我的....探索之旅吧!"字体会变亮,当鼠标点击时会跳转到下一个界面.

第三个页面-首页:

这个页面主要设置了顶部五个导航栏,点击任意一处都可以跳转到相应的页面

第四个页面-我的秘密花园: 

这个页面也就是相册,运用了swiper,音频,动图等,鼠标点击照片可以左向右进行滑动,点击顶部导航栏跳转到下一个页面.

第五个页面-兴趣爱好:

主页介绍自己的兴趣爱好,记录自己的生活!

第六个页面-人生理想:

主页写自己的人生理想,加入了视频.

下面是代码:

第一个页面-index1:

  1. <style>
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. }
  6. body {
  7. min-height: 100vh;
  8. display: flex;
  9. justify-content: center;
  10. align-items: center;
  11. background-color: black;
  12. }
  13. h2 {
  14. color: #222;
  15. font-size: 100px;
  16. }
  17. h2 a {
  18. text-decoration: none;
  19. color: white;
  20. }
  21. h2 span {
  22. transition: 0.5s;
  23. }
  24. h2:hover span:nth-child(1) {
  25. margin-right: 10px;
  26. }
  27. h2:hover span:nth-child(2) {
  28. margin-left: 30px;
  29. }
  30. h2 span:nth-child(1)::after {
  31. opacity: 0;
  32. transition: 2s;
  33. }
  34. h2:hover span:nth-child(1)::after {
  35. content: "'";
  36. opacity: 1;
  37. }
  38. h2:hover span {
  39. color: white;
  40. text-shadow: 0 0 10px #fff,
  41. 0 0 20px #fff,
  42. 0 0 40px #fff,
  43. 0 0 80px #fff;
  44. }
  45. </style>

第二个页面-index2:

  1. <style>
  2. body {
  3. margin: 0;
  4. padding: 0;
  5. background: url("images/封面1.jpg") no-repeat;
  6. background-size: cover;
  7. }
  8. .box {
  9. color: rgb(6, 173, 151);
  10. width: 750px;
  11. padding: 40px;
  12. text-align: center;
  13. margin: auto;
  14. margin-top: 5%;
  15. font-family: 'Century Gothic', sans-serif;
  16. }
  17. .box .box-img {
  18. width: 150px;
  19. height: 150px;
  20. border-radius: 50%;
  21. }
  22. .box hr {
  23. width: 650px;
  24. }
  25. .box h1 {
  26. font-size: 50px;
  27. letter-spacing: 4px;
  28. font-weight: 400;
  29. }
  30. .box h2 {
  31. font-size: 25px;
  32. letter-spacing: 3px;
  33. font-weight: 300;
  34. color: rgb(11, 236, 183);
  35. font-weight: 400;
  36. }
  37. .box h2 .two {
  38. font-size: 30px;
  39. letter-spacing: 3px;
  40. font-weight: 300;
  41. }
  42. .one {
  43. text-decoration: none;
  44. font-size: 20px;
  45. font-weight: 600;
  46. color: grey;
  47. }
  48. .one:hover {
  49. color: rgb(6, 173, 151);
  50. }
  51. .h2 .container {
  52. height: 40px;
  53. display: flex;
  54. /* 弹性布局,水平,垂直居中*/
  55. justify-content: center;
  56. align-items: center;
  57. }
  58. span {
  59. font-size: 25px;
  60. font-weight: bold;
  61. text-transform: uppercase;
  62. /* 转为大写*/
  63. letter-spacing: 5px;
  64. /* 字间距*/
  65. color: #111;
  66. filter: blur(2px);
  67. /* 模糊滤镜*/
  68. animation: animate 1.5s linear infinite;
  69. /* 动画:动画名称 动画时长 线性的 无限次播放*/
  70. }
  71. /* 为每一个span元素设置动画延迟时间*/
  72. span:nth-child(1) {
  73. animation-delay: 0s;
  74. }
  75. @keyframes animate {
  76. /* 定义动画关键帧*/
  77. 0%,
  78. 100% {
  79. color: #fff;
  80. filter: blur(2px);
  81. /*模糊滤镜*/
  82. text-shadow: 0 0 10px #32ff7e, 0 0 20px #32ff7e, 0 0 30px #32ff7e,
  83. 0 0 40px #32ff7e, 0 0 100px #32ff7e, 0 0 200px #32ff7e;
  84. }
  85. 5%,
  86. 95% {
  87. color: #111;
  88. filter: blur(0px);
  89. }
  90. }
  91. </style>
  92. </head>
  93. <body>
  94. <div class="box">
  95. <img src="images\头像2.jpg" alt="" class="box-img">
  96. <h2>把书读烂,把路走宽,一定要靠自己发光!</h2>
  97. <hr>
  98. <h2 class="one">xxx</h2>
  99. <h2 class="two">立志成为一名军人的爱国青年!</h2>
  100. <br>
  101. <h2>清澈的爱只为中国 !</h2>
  102. <h3>Clear love only for China !</h3>
  103. <h2><a href="首页3.html">
  104. <div class="container">
  105. <span>欢迎来到我的世界!
  106. 接下来,开启你的探索之旅吧!</span>
  107. </a></h2>
  108. </div>
  109. </body>

第三个页面-首页:

  1. <style>
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. }
  6. body {
  7. background: url() no-repeat;
  8. background-size: cover;
  9. background-color: rgb(184, 245, 247);
  10. }
  11. .box {
  12. width: 1200px;
  13. height: 540px;
  14. background: rgba(0, 0, 0, 0.2);
  15. margin: 0 auto;
  16. text-align: center;
  17. margin-top: 7%;
  18. }
  19. .box .left a {
  20. display: block;
  21. width: 200px;
  22. height: 90px;
  23. background: rgba(0, 0, 0, 0.2);
  24. font-size: 20px;
  25. color: #fff;
  26. text-decoration: none;
  27. padding-left: 30px;
  28. line-height: 90px;
  29. }
  30. .box .left a:hover {
  31. background-color: #ff6700;
  32. }
  33. .left {
  34. float: left;
  35. width: 230px;
  36. height: 540px;
  37. background-color: cadetblue;
  38. background: rgba(0, 0, 0, 0.2);
  39. }
  40. .right {
  41. float: right;
  42. width: 970px;
  43. height: 540px;
  44. background-color: rgba(152, 233, 233, 0.2);
  45. ;
  46. }
  47. .right>div {
  48. float: left;
  49. width: 470px;
  50. height: 540px;
  51. background: rgba(0, 0, 0, 0.2);
  52. margin-left: 14px;
  53. margin-bottom: 14px;
  54. }
  55. .right .one {
  56. background-color: rgb(152, 233, 233, 0.2);
  57. }
  58. .right .photo {
  59. width: 490px;
  60. height: 540px;
  61. }
  62. .right .one h1 {
  63. color: white;
  64. font-size: 60px;
  65. }
  66. .right .one p {
  67. font-size: 30px;
  68. font-weight: 500;
  69. color: rgb(11, 99, 106);
  70. font-style: italic;
  71. text-align: left;
  72. line-height: 60px;
  73. }
  74. .bottom {
  75. text-align: center;
  76. border-bottom: 50px;
  77. margin-bottom: 0px;
  78. }
  79. .box .left .shouye1 {
  80. background-color: #13bdd8;
  81. }
  82. </style>
  83. </head>
  84. <body>
  85. <div class="nav">
  86. <a href="#">G-Dragon</a>
  87. <a href="#" target="_blank" class="shouye">首页</a>
  88. <a href="秘密花园4.html" target="_blank">我的秘密花园</a>
  89. <a href="兴趣爱好5.html" target="_blank">兴趣爱好</a>
  90. <a href="人生理想6.html" target="_blank">人生理想</a>
  91. </div>
  92. <div class="box">
  93. <div class="left">
  94. <a href="#">G-Dragon</a>
  95. <a href="#" target="_blank" class="shouye1">首页</a>
  96. <a href="秘密花园4.html" target="_blank">我的秘密花园</a>
  97. <a href="兴趣爱好5.html" target="_blank">兴趣爱好</a>
  98. <a href="人生理想6.html" target="_blank">人生理想</a>
  99. </div>
  100. <div class="right">
  101. <div class="one">
  102. <h1>About us</h1>
  103. <br>
  104. <p>Describe: 一名爱国青年</p>
  105. <p>name: xxx</p>
  106. <p>Age: 20岁</p>
  107. <p>Dream: 当兵</p>
  108. <p>Motto:</p>
  109. <p>&nbsp;&nbsp;清澈的爱只为中国!</p>
  110. <p>&nbsp;&nbsp;生而逢盛世,青年当有为!</p>
  111. </div>
  112. <div>
  113. <img src="images\背景图2.jpg" alt="" class="photo">
  114. </div>
  115. </div>
  116. </div>
  117. </body>

第四个页面-我的秘密花园: 

  1. <style>
  2. body {
  3. background: #a3ebf6;
  4. font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  5. font-size: 14px;
  6. color: #000;
  7. margin: 0;
  8. padding: 0;
  9. }
  10. .swiper-container {
  11. width: 100%;
  12. padding-top: 50px;
  13. padding-bottom: 50px;
  14. }
  15. .swiper-slide {
  16. background-position: center;
  17. background-size: cover;
  18. width: 300px;
  19. height: 300px;
  20. }
  21. .nav {
  22. height: 41px;
  23. border-top: 3px solid #b4fffa;
  24. border-bottom: 1px solid #edeef0;
  25. background-color: #fcfcfc;
  26. line-height: 41px;
  27. }
  28. .nav a {
  29. display: inline-block;
  30. height: 41px;
  31. font-size: 15px;
  32. color: #4c4c4c;
  33. text-decoration: none;
  34. padding: 0px 20px;
  35. }
  36. .nav a:hover {
  37. background-color: #fcfcfc;
  38. color: #93d9eb;
  39. }
  40. .nav .secret {
  41. background-color: #93d9eb;
  42. }
  43. .pt-down {
  44. position: relative;
  45. width: 400px;
  46. height: 300px;
  47. position: absolute;
  48. bottom: 0;
  49. left: 0;
  50. }
  51. .text {
  52. position: relative;
  53. width: 950px;
  54. height: 350px;
  55. position: absolute;
  56. bottom: 0;
  57. right: 0;
  58. text-align: center;
  59. }
  60. </style>
  61. </head>
  62. <body>
  63. <div class="nav">
  64. <a href="#">G-Dragon</a>
  65. <a href="首页3.html" target="_blank">首页</a>
  66. <a href="#" target="_blank" class="secret">我的秘密花园</a>
  67. <a href="兴趣爱好5.html" target="_blank">兴趣爱好</a>
  68. <a href="人生理想6.html" target="_blank">人生理想</a>
  69. </div>
  70. <div class="pt-down">
  71. <img src="images\哆啦A梦3.gif" alt="">
  72. <audio controls="controls">
  73. <source src="audio\阎维文 - 强军战歌.ogg" type="audio/ogg" >
  74. <source src="audio\阎维文 - 强军战歌.mp3" type="audio/mpeg">不支持
  75. </audio>
  76. <audio autoplay="autoplay" loop="loop">
  77. <source src="audio\阎维文 - 强军战歌.ogg" type="audio.ogg">
  78. <source src="audio\阎维文 - 强军战歌.mp3" type="audio.mpeg">
  79. </audio>
  80. </div>
  81. <div class="text">
  82. <h1>欢迎来到我的秘密花园</h1>
  83. <h2>欢迎你开启探索之旅!</h2>
  84. <h2>在这里你可以看到很多不一样的我,发现我的另一面,知道我的更多秘密哦!</h2>
  85. <br>
  86. <h1>So,请不要定义我, 我颠覆你的想象 !</h1>
  87. <p>请点击左边的播放器,我们一起来在音乐中探索更多秘密吧!</p>
  88. <br>
  89. </div>
  90. <!-- Swiper -->
  91. <div class="swiper-container">
  92. <div class="swiper-wrapper">
  93. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/1.jpg)"></div>
  94. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/2.jpg)"></div>
  95. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/3.jpg)"></div>
  96. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/4.jpg)"></div>
  97. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/5.jpg)"></div>
  98. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/6.jpg)"></div>
  99. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/7.jpg)"></div>
  100. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/8.jpg)"></div>
  101. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/9.jpg)"></div>
  102. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/10.jpg)"></div>
  103. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/11.jpg)"></div>
  104. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/12.jpg)"></div>
  105. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/13.jpg)"></div>
  106. <div class="swiper-slide" style="background-image:url(images/我的秘密花园/14.jpg)"></div>
  107. </div>
  108. <!-- Add Pagination -->
  109. <div class="swiper-pagination"></div>
  110. </div>
  111. <!-- Swiper JS -->
  112. <script src="swiper\swiper-bundle.min.js"></script>
  113. <!-- Initialize Swiper -->
  114. <script>
  115. var swiper = new Swiper('.swiper-container', {
  116. effect: 'coverflow',
  117. grabCursor: true,
  118. centeredSlides: true,
  119. slidesPerView: 'auto',
  120. coverflowEffect: {
  121. rotate: 50,
  122. stretch: 0,
  123. depth: 100,
  124. modifier: 1,
  125. slideShadows: true,
  126. },
  127. pagination: {
  128. el: '.swiper-pagination',
  129. },
  130. });
  131. </script>
  132. </body>

第五个页面-兴趣爱好:

  1. <style>
  2. body {
  3. background: #a3ebf6;
  4. font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  5. font-size: 14px;
  6. color: #000;
  7. margin: 0;
  8. padding: 0;
  9. }
  10. .nav {
  11. height: 41px;
  12. border-top: 3px solid #b4fffa;
  13. border-bottom: 1px solid #edeef0;
  14. background-color: #fcfcfc;
  15. line-height: 41px;
  16. }
  17. .nav a {
  18. display: inline-block;
  19. height: 41px;
  20. font-size: 15px;
  21. color: #4c4c4c;
  22. text-decoration: none;
  23. padding: 0px 20px;
  24. }
  25. .nav a:hover {
  26. background-color: #fcfcfc;
  27. color: #93d9eb;
  28. }
  29. .nav .hobby {
  30. background-color: #93d9eb;
  31. }
  32. .box01 {
  33. width: 1100px;
  34. height: 100px;
  35. padding-top: 30px;
  36. text-align: center;
  37. }
  38. .box01 h1 {
  39. font-size: 30px;
  40. font-weight: normal;
  41. text-align: center;
  42. }
  43. .box01 h2 {
  44. font-size: 20px;
  45. font-weight: normal;
  46. text-align: center;
  47. }
  48. /*-----box3开始-----*/
  49. .box03 {
  50. width: 888px;
  51. height: 823px;
  52. margin: 0 auto;
  53. border: #c6c4c5 2px solid;
  54. border-top: none;
  55. border-bottom: #c6c4c5 10px solid;
  56. margin-top: 80px;
  57. }
  58. .box03 .bx1 {
  59. width: 886px;
  60. height: 330px;
  61. margin-top: 20px;
  62. }
  63. .box03 .bx1 img {
  64. width: 445px;
  65. height: 325px;
  66. float: left;
  67. margin-left: 60px;
  68. margin-right: 110px;
  69. }
  70. .box03 .bx1 .right {
  71. width: 215px;
  72. height: 330px;
  73. float: left;
  74. text-align: center
  75. }
  76. .box03 .bx1 .right h1 {
  77. font-size: 20px;
  78. width: 30px;
  79. height: 235px;
  80. float: right;
  81. line-height: 25px;
  82. padding-left: 10px;
  83. margin-top: -15px;
  84. }
  85. .box03 .bx1 .right h1 span {
  86. background: #F00;
  87. padding: 2px;
  88. font-size: 12px;
  89. }
  90. .box03 .bx1 .right h2 {
  91. font-size: 20px;
  92. width: 30px;
  93. float: right;
  94. line-height: 25px;
  95. background: #F00;
  96. padding: 10px 0px;
  97. margin-left: 10px;
  98. }
  99. .box03 .bx1 .right p {
  100. color: #5e5e5e;
  101. width: 26px;
  102. float: right;
  103. font-size: 14px;
  104. line-height: 15px;
  105. border-right: #333 1px solid;
  106. padding: 0px 2px;
  107. }
  108. .box03 .bx2 {
  109. width: 50px;
  110. height: 78px;
  111. margin: 0 auto;
  112. margin-left: auto;
  113. background: url(../images/03.jpg) no-repeat;
  114. margin-left: 470px;
  115. }
  116. .box03 .bx2 p {
  117. color: #5e5e5e;
  118. width: 25px;
  119. float: right;
  120. font-size: 14px;
  121. line-height: 15px;
  122. padding: 0px 18px;
  123. height: 50px;
  124. }
  125. .box03 .bx2 .padd0 {
  126. padding: 0px !important;
  127. }
  128. .marl60 {
  129. margin-left: 60px;
  130. }
  131. .mar0 {
  132. margin-right: 0px !important;
  133. }
  134. .box03 .bx3 {
  135. width: 25px;
  136. height: 80px;
  137. border: #e70012 1px solid;
  138. float: left;
  139. text-align: center;
  140. line-height: 20px;
  141. font-weight: bold;
  142. margin-left: 20px;
  143. margin-top: 260px;
  144. }
  145. /*-----foot开始-----*/
  146. #foot {
  147. height: 220px;
  148. width: 100%;
  149. background: #4cc8ee;
  150. text-align: center;
  151. margin-top: 100px;
  152. }
  153. #foot #foot1 img {
  154. margin-top: 0px;
  155. float: left;
  156. }
  157. /*---foot结束-----*/
  158. div,
  159. p,
  160. input,
  161. ul,
  162. li,
  163. p,
  164. h1,
  165. h2,
  166. h3,
  167. h4,
  168. h5,
  169. h6,
  170. dl,
  171. dt,
  172. dd {
  173. height: auto;
  174. margin: 0;
  175. ;
  176. padding: 0;
  177. vertical-align: middle;
  178. }
  179. li {
  180. list-style: none;
  181. }
  182. </style>
  183. </head>
  184. <body>
  185. <div class="nav">
  186. <a href="#">G-Dragon</a>
  187. <a href="首页3.html" target="_blank">首页</a>
  188. <a href="秘密花园4.html" target="_blank" class="secret">我的秘密花园</a>
  189. <a href="#" target="_blank" class="hobby">兴趣爱好</a>
  190. <a href="人生理想6.html" target="_blank">人生理想</a>
  191. </div>
  192. <!----box1开始------>
  193. <div class="box01">
  194. <h1>要活在自己的喜欢里,那才叫活着!</h1>
  195. <br>
  196. <br>
  197. <h2>热烈的青春比太阳还耀眼!</h2>
  198. <br>
  199. <br>
  200. <h2>自愈 阅己 悦己 越己</h2>
  201. </div>
  202. <!----box3开始------>
  203. <div class="box03">
  204. <div class="bx1">
  205. <img src="images\天安门.jpg" />
  206. <div class="right">
  207. <h1>喜欢追光<span>红</span></h1>
  208. <h2>光芒万丈</h2>
  209. <p>生在红旗下<br />
  210. <p>
  211. <p>长在春风里<br /></p>
  212. <p>人民有信仰<br /></p>
  213. <p>国家有力量<br /></p>
  214. </div>
  215. </div>
  216. <div class="bx2">
  217. <p>爱国</p>
  218. <p class="padd0">拥军</p>
  219. </div>
  220. <div class="bx1">
  221. <div class="right marl60">
  222. <h1>中国<span>爱</span></h1>
  223. <h2>繁荣昌盛</h2>
  224. <p>生而逢盛世 </p>
  225. <p>青年当有为</p>
  226. <p>清澈的爱只为中国</p>
  227. </div>
  228. <img class="mar0" src="images\背景图1.jpg" />
  229. <div class="bx3">查看更多</div>
  230. </div>
  231. </div>
  232. <!----box3开始------>
  233. <div class="box03">
  234. <div class="bx1">
  235. <img src="images\飞机.jpg" />
  236. <div class="right">
  237. <h1>喜欢军事<span>酷</span></h1>
  238. <h2>军迷</h2>
  239. <p>热爱祖国<br />
  240. <p>
  241. <p>大国重器<br /></p>
  242. <p>中国已不再是以前的中国了<br /></p>
  243. <p>现在的中国不在受人欺负了<br /></p>
  244. </div>
  245. </div>
  246. <div class="bx2">
  247. <p>爱国青年</p>
  248. <p class="padd0">拥军</p>
  249. </div>
  250. <div class="bx1">
  251. <div class="right marl60">
  252. <h1>喜欢旅游<span>自由</span></h1>
  253. <h2>赤诚热爱</h2>
  254. <p>要山 要海 要自由 </p>
  255. <p>愿意一直在路上</p>
  256. <p>热烈的青春比太阳还耀眼</p>
  257. </div>
  258. <img class="mar0" src="images\旅游.jpg" />
  259. <div class="bx3">查看更多</div>
  260. </div>
  261. </div>
  262. <!----foot开始------>
  263. <div id="foot">
  264. <div id="foot1">
  265. <img src="images\哆啦A梦3.gif" />
  266. <h1>欢迎来到我的世界</h1>
  267. <br>
  268. <br>
  269. <br>
  270. <br>
  271. <h2>看到这里,你对我有多少了解了呢,接下来带你来看看我的人生理想吧!</h2>
  272. <br>
  273. <br>
  274. <br>
  275. <br>
  276. </div>
  277. </div>
  278. </div>
  279. </body>

第六个页面-人生理想:

  1. <style>
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. }
  6. body {
  7. background: url() no-repeat;
  8. background-size: cover;
  9. background-color: rgb(184, 245, 247);
  10. }
  11. .box {
  12. width: 1200px;
  13. height: 540px;
  14. background: rgba(0, 0, 0, 0.2);
  15. margin: 0 auto;
  16. text-align: center;
  17. margin-top: 7%;
  18. }
  19. .box .left a {
  20. display: block;
  21. width: 200px;
  22. height: 90px;
  23. background: rgba(0, 0, 0, 0.2);
  24. font-size: 20px;
  25. color: #fff;
  26. text-decoration: none;
  27. padding-left: 30px;
  28. line-height: 90px;
  29. }
  30. .box .left a:hover {
  31. background-color: #ff6700;
  32. }
  33. .left {
  34. float: left;
  35. width: 230px;
  36. height: 540px;
  37. background-color: cadetblue;
  38. background: rgba(0, 0, 0, 0.2);
  39. }
  40. .right {
  41. float: right;
  42. width: 970px;
  43. height: 540px;
  44. background-color: rgba(152, 233, 233, 0.2);
  45. ;
  46. }
  47. .right>div {
  48. float: left;
  49. width: 470px;
  50. height: 540px;
  51. background: rgba(0, 0, 0, 0.2);
  52. margin-left: 14px;
  53. margin-bottom: 14px;
  54. }
  55. .right .one {
  56. background-color: rgb(152, 233, 233, 0.2);
  57. }
  58. .right .one h1 {
  59. color: white;
  60. font-size: 60px;
  61. }
  62. .right .one p {
  63. font-size: 30px;
  64. font-weight: 500;
  65. color: rgb(11, 99, 106);
  66. font-style: italic;
  67. text-align: left;
  68. line-height: 60px;
  69. }
  70. .bottom {
  71. text-align: center;
  72. border-bottom: 50px;
  73. margin-bottom: 0px;
  74. }
  75. .box .left .Dream {
  76. background-color: #13bdd8;
  77. }
  78. .video-container {
  79. max-width: 490px;
  80. margin: 0 auto;
  81. }
  82. .video-container video {
  83. width: 100%;
  84. height: 540px;
  85. display: block;
  86. }
  87. .nav .Dream {
  88. background-color: #93d9eb;
  89. }
  90. </style>
  91. </head>
  92. <body>
  93. <div class="nav">
  94. <a href="#">G-Dragon</a>
  95. <a href="首页3.html" target="_blank" >首页</a>
  96. <a href="秘密花园4.html" target="_blank">我的秘密花园</a>
  97. <a href="兴趣爱好5.html" target="_blank">兴趣爱好</a>
  98. <a href="#" target="_blank" class="Dream">人生理想</a>
  99. </div>
  100. <div class="box">
  101. <div class="left">
  102. <a href="#">G-Dragon</a>
  103. <a href="首页3.html" target="_blank" >首页</a>
  104. <a href="秘密花园4.html" target="_blank">我的秘密花园</a>
  105. <a href="兴趣爱好5.html" target="_blank">兴趣爱好</a>
  106. <a href="#" target="_blank" class="Dream">人生理想</a>
  107. </div>
  108. <div class="right">
  109. <div class="one">
  110. <h1>My Dream</h1>
  111. <br>
  112. <p>我的人生理想:</p>
  113. <p>&nbsp;&nbsp;当兵, </p>
  114. <p>成为一名中国人民解放军军人!</p>
  115. <p>报效国家,守卫边疆!</p>
  116. <p>生在红旗下,长在春风里,人民有信仰,国家有力量,民族有希望!</p>
  117. <p>生而逢盛世,青年当有为!</p>
  118. </div>
  119. <div class="video-container">
  120. <video controls="controls" autoplay="autoplay" loop="loop" muted>
  121. <source src="video\敬礼.mp4" type="video/mp4">
  122. Your browser does not support the video tag.
  123. </video>
  124. </div>
  125. </div>
  126. </div>
  127. </body>

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/611535
推荐阅读
相关标签
  

闽ICP备14008679号