当前位置:   article > 正文

html+css实例_css+h3+html项目

css+h3+html项目

1.简单的物品浏览页

(1)reset.css文件(初始化一些样式,例如消除a标签的下划线)

  1. /*将标签默认的间距设为0*/
  2. body,ul,p,h1,h2,h3,h4,h5,h6,dl,dd,input,selector,form{
  3. margin: 0;padding: 0;
  4. }
  5. /*让h标签继承body内设置的字体大小*/
  6. h1,h2,h3,h4,h5,h6{
  7. font-size: 100%;
  8. }
  9. /*去掉默认的列表标签*/
  10. ul{
  11. list-style: none;
  12. }
  13. /*设置em文字不倾斜*/
  14. em{
  15. font-style: normal;
  16. }
  17. /*清除下划线*/
  18. a{
  19. text-decoration: none;
  20. }
  21. /*清除图片的边框*/
  22. img{
  23. border: none;
  24. }
  25. /*清楚margin-top塌陷和浮动问题*/
  26. .clearfix:before,.clearfix:after{
  27. content: "";
  28. display: table;
  29. }
  30. .clearfix:after{
  31. clear: both;
  32. }
  33. /*解决ie清楚浮动的问题*/
  34. .clearfix{
  35. zoom: 1;
  36. }
  37. /*向左浮动*/
  38. .fl{
  39. float: left;
  40. }
  41. /*向右浮动*/
  42. .fr{
  43. float: right;
  44. }

2.页面内详细css样式

  1. body{
  2. font-family: "Microsoft Yahei";
  3. color: #666;
  4. font-size: 12px;
  5. }
  6. /*=======================首页样式==========================*/
  7. /*顶部状态条样式*/
  8. .header_con{
  9. height:29px;
  10. background-color: #f7f7f7;
  11. border-bottom: 1px solid #ddd;
  12. }
  13. .header{
  14. width: 1200px;
  15. height: 29px;
  16. margin: 0 auto;
  17. }
  18. .welcome{
  19. font:12px/29px 'Microsoft Yahei';
  20. color: #666666;
  21. }
  22. .user_login_link,.user_welcome,.user_shopping{
  23. height: 29px;
  24. line-height: 29px;
  25. }
  26. .user_login_link a,.user_shopping a{
  27. color: #666666;
  28. }
  29. .user_login_link a:hover,.user_shopping a:hover{
  30. color: #ff8800;
  31. }
  32. .user_login_link span,.user_shopping span{
  33. margin: 0px 15px;
  34. color: #cecece;
  35. }
  36. .user_welcome{
  37. display: none;
  38. }
  39. .user_welcome em{
  40. color: #ff8800;
  41. }
  42. /*logo 搜索 购物车样式*/
  43. .logo_bar{
  44. width: 1200px;
  45. height: 115px;
  46. margin: 0 auto;
  47. }
  48. .logo{
  49. width: 151px;
  50. height: 59px;
  51. margin: 29px 0 0 17px;
  52. }
  53. .search{
  54. width: 616px;
  55. height: 38px;
  56. border:1px solid #37ab40;
  57. margin: 34px 0 0 123px;
  58. background: url("../image_day/icons.png") 8px -337px no-repeat;
  59. }
  60. .search .input_text{
  61. width: 470px;
  62. height: 38px;
  63. border: 0px;
  64. outline: none;
  65. margin-left: 37px;
  66. }
  67. .search .input_btn{
  68. width: 100px;
  69. height: 38px;
  70. background-color: #37ab40;
  71. border: 0px;
  72. font: 14px/38px 'Microsoft Yahei';
  73. color: #ffffff;
  74. cursor: pointer;
  75. }
  76. .chart{
  77. width: 200px;
  78. height: 40px;
  79. margin-top: 34px;
  80. }
  81. .chart a{
  82. width: 158px;
  83. height: 38px;
  84. border: 1px solid #ddd;
  85. font: 14px/38px 'Microsoft Yahei';
  86. color: #37ab40;
  87. text-indent: 56px;
  88. background: url("../image_day/icons.png") 15px -301px no-repeat #f7f7f7;
  89. }
  90. .chart span{
  91. width: 40px;
  92. height: 40px;
  93. background-color: #f80;
  94. font: bold 18px/40px 'Microsoft Yahei';
  95. color: white;
  96. text-align: center;
  97. }
  98. .sub_menu_con{
  99. height: 40px;
  100. border-bottom: 2px solid #37ab40;
  101. }
  102. .sub_menu{
  103. width: 1200px;
  104. height: 40px;
  105. margin: 0 auto;
  106. }
  107. .sub_menu h1{
  108. width: 200px;
  109. height: 40px;
  110. background-color: #37ab40;
  111. font: 14px/40px 'Microsoft Yahei';
  112. color: #fff;
  113. text-align: center;
  114. }
  115. .sub_menu ul{
  116. overflow: hidden;
  117. }
  118. .sub_menu li{
  119. float: left;
  120. height: 14px;
  121. padding: 0 25px;
  122. border-left: 1px solid #666;
  123. margin-left: -1px;
  124. margin-top: 13px;
  125. }
  126. .sub_menu li a{
  127. font: 14px/14px 'Microsoft Yahei';
  128. color: #666;
  129. }
  130. .sub_menu li a:hover{
  131. color: #f80;
  132. }
  133. /*左侧菜单样式*/
  134. .center_con{
  135. width: 1200px;
  136. height: 270px;
  137. margin: 0 auto;
  138. }
  139. .center_con .main_menu{
  140. width: 200px;
  141. height: 270px;
  142. overflow: hidden;
  143. }
  144. .center_con .main_menu li{
  145. width: 198px;
  146. height: 44px;
  147. border: 1px solid #eee;
  148. margin-top: -1px;
  149. background: url("../image_day/icons.png") 175px -259px no-repeat;
  150. }
  151. .center_con .main_menu li a{
  152. display: block;
  153. width: 198px;
  154. height: 44px;
  155. font: 14px/44px 'Microsoft Yahei';
  156. color: #333333;
  157. text-indent: 71px;
  158. background: url("../image_day/icons.png") 16px 0px no-repeat;
  159. }
  160. .center_con .main_menu li .fruit{
  161. background-position: 16px 0px;
  162. }
  163. .center_con .main_menu li .seafood{
  164. background-position: 16px -44px;
  165. }
  166. .center_con .main_menu li .meat{
  167. background-position: 16px -88px;
  168. }
  169. .center_con .main_menu li .egg{
  170. background-position: 16px -134px;
  171. }
  172. .center_con .main_menu li .vegetables{
  173. background-position: 16px -176px;
  174. }
  175. .center_con .main_menu li .ice{
  176. background-position: 16px -221px;
  177. }
  178. /*轮播图*/
  179. .slide_con{
  180. width: 760px;
  181. height: 270px;
  182. position: relative;
  183. }
  184. .prev{
  185. width: 15px;
  186. height: 23px;
  187. position: absolute;
  188. left: 11px;
  189. top: 122px;
  190. cursor: pointer;
  191. background: url("../image_day/icons.png") 40px -387px;
  192. }
  193. .next{
  194. width: 15px;
  195. height: 23px;
  196. position: absolute;
  197. right: 11px;
  198. top: 122px;
  199. cursor: pointer;
  200. background: url("../image_day/icons.png") 40px -427px;
  201. }
  202. .points{
  203. position: absolute;
  204. width: 100%;
  205. height: 11px;
  206. left: 0px;
  207. bottom: 9px;
  208. text-align: center;
  209. font-size: 0px;
  210. }
  211. .points li{
  212. width: 11px;
  213. height: 11px;
  214. display: inline-block;
  215. background-color: #9f9f9f;
  216. margin: 0 5px;
  217. border-radius: 50%;
  218. }
  219. .points .active{
  220. background-color: #cecece;
  221. }
  222. .adv{
  223. width: 240px;
  224. height: 270px;
  225. }
  226. .adv a{
  227. float: left;
  228. width: 240px;
  229. height: 135px;
  230. }
  231. /*解决图片下方出现的3像素的空白*/
  232. .adv a img{
  233. display: block;
  234. }
  235. /*商品列表*/
  236. .common_model{
  237. width: 1200px;
  238. height: 340px;
  239. margin: 18px auto 0;
  240. }
  241. .common_model .common_title{
  242. height: 38px;
  243. border-bottom: 2px solid #42ad46;
  244. }
  245. .common_model .common_title h3{
  246. font: bold 16px/38px 'Microsoft Yahei';
  247. color: #37ab40;
  248. }
  249. .common_model .common_title ul{
  250. height: 12px;
  251. margin: 13px 0 0 20px;
  252. }
  253. .common_model .common_title li{
  254. float: left;
  255. margin: 0 10px;
  256. }
  257. .common_model .common_title li a{
  258. color: #666;
  259. font-size: 12px;
  260. line-height: 10px;
  261. }
  262. .common_model .common_title li a:hover,.common_model .common_title .more:hover{
  263. color: #f80;
  264. }
  265. .common_model .common_title .more{
  266. height: 38px;
  267. line-height: 38px;
  268. color: #666;
  269. }
  270. .common_model .common_goods_list{
  271. width: 1200px;
  272. height: 300px;
  273. }
  274. .common_model .goods_banner{
  275. width: 200px;
  276. height: 300px;
  277. }
  278. .common_model .common_goods_list .goods_list{
  279. width: 1000px;
  280. height: 300px;
  281. }
  282. .common_model .common_goods_list .goods_list li{
  283. width: 249px;
  284. height: 299px;
  285. border-right:1px solid #ededed;
  286. border-bottom: 1px solid #ededed;
  287. float: left;
  288. }
  289. .common_model .common_goods_list .goods_list li h4{
  290. height: 52px;
  291. font: 14px/52px 'Microsoft Yahei';
  292. color: #666666;
  293. text-align: center;
  294. }
  295. .common_model .common_goods_list .goods_list li a{
  296. display: block;
  297. width: 180px;
  298. height: 180px;
  299. margin: 0 auto;
  300. }
  301. .common_model .common_goods_list .goods_list li p{
  302. height: 52px;
  303. font: bold 20px/52px 'Microsoft Yahei';
  304. color: #c40000;
  305. text-align: center;
  306. }
  307. .common_model .common_goods_list .goods_list li:hover{
  308. width: 248px;
  309. height: 298px;
  310. border: 1px solid gold;
  311. }
  312. .footer{
  313. height: 145px;
  314. border-top: 2px solid #4ab14e;
  315. margin-top: 30px;
  316. }
  317. .footer .links{
  318. text-align: center;
  319. margin-top: 40px;
  320. }
  321. .footer .links a{
  322. color: #4e4e4e;
  323. }
  324. .footer .links a:hover{
  325. color: #f80;
  326. }
  327. .footer .links span{
  328. color: #4e4e4e;
  329. margin: 0 10px;
  330. }
  331. .footer p{
  332. text-align: center;
  333. line-height: 27px;
  334. color: #4e4e4e;
  335. margin-top: 10px;
  336. }
  337. /*=======================首页样式==========================*/
  338. /*=======================登录页样式==========================*/
  339. .login_header{
  340. width: 953px;
  341. height: 133px;
  342. margin: 0 auto;
  343. }
  344. .login_header a{
  345. display: block;
  346. width: 193px;
  347. height: 76px;
  348. margin-top: 28px;
  349. }
  350. .login_form_con{
  351. border-top: 1px solid #79a652;
  352. height: 480px;
  353. background-color: #518e17;
  354. }
  355. .login_form{
  356. width: 953px;
  357. height: 482px;
  358. margin: 0 auto;
  359. }
  360. .login_form .login_banner{
  361. margin: 92px 0 0 15px;
  362. }
  363. .login_form .slogan{
  364. color: #ffffff;
  365. font-size: 30px;
  366. width: 30px;
  367. height: 293px;
  368. text-align: center;
  369. line-height: 36px;
  370. margin-top: 83px;
  371. margin-left: 114px;
  372. }
  373. .login_form .form_input_con{
  374. width: 368px;
  375. height: 379px;
  376. background-color: white;
  377. border: 1px solid #c6c6c5;
  378. margin-top: 50px;
  379. }
  380. .login_footer{
  381. border-top: 0px;
  382. margin-top: 0px;
  383. }
  384. .form_title{
  385. width: 308px;
  386. height: 70px;
  387. border-bottom: 1px solid #e0e0e0;
  388. margin: 0 auto;
  389. }
  390. .form_title h1{
  391. float: left;
  392. height: 70px;
  393. font: bold 24px/70px 'Microsoft Yahei';
  394. color: #a8a8a8;
  395. margin-left: 44px;
  396. }
  397. .form_title a{
  398. width: 100px;
  399. height: 16px;
  400. font: 16px/16px 'Microsoft Yahei';
  401. color: #5fb42a;
  402. text-indent: 25px;
  403. float: left;
  404. background: url("../image_day/icons02.png") 0px 0px no-repeat;
  405. margin: 27px 0 0 33px;
  406. }
  407. .form_input_con form{
  408. width: 308px;
  409. height: 221px;
  410. margin: 20px auto 0;
  411. }
  412. .form_input_con form .form_group{
  413. width: 308px;
  414. height: 68px;
  415. }
  416. .form_group .input_txt,.form_group .input_pwd{
  417. width: 306px;
  418. height: 38px;
  419. border: 1px solid #e0e0e0;
  420. outline: none;
  421. text-indent: 10px;
  422. background: url("../image_day/icons02.png") 274px -43px no-repeat #f8f8f8;
  423. }
  424. .form_group .input_pwd{
  425. background-position: 274px -93px;
  426. }
  427. .form_group .error{
  428. font: 12px/28px 'Microsoft Yahei';
  429. color: #ff5400;
  430. display: none;
  431. }
  432. .form_group .input_check{
  433. margin: 2px 10px 0 0;
  434. }
  435. .find_pass{
  436. color: #4b4b4b;
  437. }
  438. .find_pass:hover{
  439. color: #f80;
  440. }
  441. .input_sub{
  442. width: 308px;
  443. height: 40px;
  444. background-color: #47aa34;
  445. border: 0;
  446. font: 24px/40px 'Microsoft Yahei';
  447. color: white;
  448. cursor: pointer;
  449. }

3.html文件:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  4. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6. <head>
  7. <title>天天生鲜-首页</title>
  8. <link rel="stylesheet" type="text/css" href="css/reset.css"/>
  9. <link rel="stylesheet" type="text/css" href="css/main.css"/>
  10. </head>
  11. <body>
  12. <div class="header_con">
  13. <div class="header">
  14. <div class="welcome fl">欢迎来到天天生鲜</div>
  15. <div class="user_info fr">
  16. <!--登录注册块-->
  17. <div class="user_login_link fl" style="display: none">
  18. <a href="#">登录</a>
  19. <span>|</span>
  20. <a href="#">注册</a>
  21. </div>
  22. <!--用户欢迎页-->
  23. <div class="user_welcome fl" style="display: block">
  24. 欢迎您:<em>胖哥哥</em>
  25. </div>
  26. <div class="user_shopping fl">
  27. <span>|</span>
  28. <a href="#">我的购物车</a>
  29. <span>|</span>
  30. <a href="#">我的订单</a>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="logo_bar">
  36. <div class="logo fl">
  37. <a href="#"><img src="image_day/logo.png" alt="logo"/></a>
  38. </div>
  39. <div class="search fl">
  40. <form action="#">
  41. <input type="text" name="" placeholder="搜索" class="input_text fl" >
  42. <input type="button" name="" value="搜索" class="input_btn fr">
  43. </form>
  44. </div>
  45. <div class="chart fr">
  46. <a href="#" class="fl">我的购物车</a>
  47. <span class="fr">0</span>
  48. </div>
  49. </div>
  50. <div class="sub_menu_con">
  51. <div class="sub_menu">
  52. <h1 class="fl">全部商品分类</h1>
  53. <ul>
  54. <li><a href="">首页</a></li>
  55. <li><a href="">手机生鲜</a></li>
  56. <li><a href="">抽奖</a></li>
  57. </ul>
  58. </div>
  59. </div>
  60. <div class="center_con">
  61. <ul class="main_menu fl">
  62. <li><a href="" class="fruit">新鲜水果</a></li>
  63. <li><a href="" class="seafood">海鲜水产</a></li>
  64. <li><a href="" class="meat">猪牛羊肉</a></li>
  65. <li><a href="" class="egg">禽类蛋品</a></li>
  66. <li><a href="" class="vegetables">新鲜蔬菜</a></li>
  67. <li><a href="" class="ice">速冻食品</a></li>
  68. </ul>
  69. <div class="slide_con fl">
  70. <ul class="slide">
  71. <li><a href=""><img src="image_day/slide.jpg" alt="轮播图"></a></li>
  72. </ul>
  73. <div class="prev"></div>
  74. <div class="next"></div>
  75. <ul class="points">
  76. <li class="active"></li>
  77. <li></li>
  78. <li></li>
  79. <li></li>
  80. <li></li>
  81. <li></li>
  82. </ul>
  83. </div>
  84. <div class="adv fl">
  85. <a href=""><img src="image_day/adv01.jpg" alt="广告1"></a>
  86. <a href=""><img src="image_day/adv02.jpg" alt="广告2"></a>
  87. </div>
  88. </div>
  89. <div class="common_model">
  90. <div class="common_title">
  91. <h3 class="fl">新鲜水果</h3>
  92. <ul class="fl">
  93. <li><span>|</span></li>
  94. <li><a href="#">鲜芒</a></li>
  95. <li><a href="#">加州提子</a></li>
  96. <li><a href="#">亚马逊牛油果</a></li>
  97. </ul>
  98. <a href="" class="more fr">查看更多&gt;</a>
  99. </div>
  100. <div class="common_goods_list">
  101. <div class="goods_banner fl"><img src="image_day/banner01.jpg" alt="banner"/></div>
  102. <ul class="goods_list fl">
  103. <li>
  104. <h4>草莓</h4>
  105. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  106. <p>¥ 38.00</p>
  107. </li>
  108. <li>
  109. <h4>草莓</h4>
  110. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  111. <p>¥ 38.00</p>
  112. </li>
  113. <li>
  114. <h4>草莓</h4>
  115. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  116. <p>¥ 38.00</p>
  117. </li>
  118. <li>
  119. <h4>草莓</h4>
  120. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  121. <p>¥ 38.00</p>
  122. </li>
  123. </ul>
  124. </div>
  125. </div>
  126. <div class="common_model">
  127. <div class="common_title">
  128. <h3 class="fl">海鲜水产</h3>
  129. <ul class="fl">
  130. <li><span>|</span></li>
  131. <li><a href="#">鲜芒</a></li>
  132. <li><a href="#">加州提子</a></li>
  133. <li><a href="#">亚马逊牛油果</a></li>
  134. </ul>
  135. <a href="" class="more fr">查看更多&gt;</a>
  136. </div>
  137. <div class="common_goods_list">
  138. <div class="goods_banner fl"><img src="image_day/banner02.jpg" alt="banner"/></div>
  139. <ul class="goods_list fl">
  140. <li>
  141. <h4>草莓</h4>
  142. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  143. <p>¥ 38.00</p>
  144. </li>
  145. <li>
  146. <h4>草莓</h4>
  147. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  148. <p>¥ 38.00</p>
  149. </li>
  150. <li>
  151. <h4>草莓</h4>
  152. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  153. <p>¥ 38.00</p>
  154. </li>
  155. <li>
  156. <h4>草莓</h4>
  157. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  158. <p>¥ 38.00</p>
  159. </li>
  160. </ul>
  161. </div>
  162. </div>
  163. <div class="common_model">
  164. <div class="common_title">
  165. <h3 class="fl">猪牛羊肉</h3>
  166. <ul class="fl">
  167. <li><span>|</span></li>
  168. <li><a href="#">鲜芒</a></li>
  169. <li><a href="#">加州提子</a></li>
  170. <li><a href="#">亚马逊牛油果</a></li>
  171. </ul>
  172. <a href="" class="more fr">查看更多&gt;</a>
  173. </div>
  174. <div class="common_goods_list">
  175. <div class="goods_banner fl"><img src="image_day/banner03.jpg" alt="banner"/></div>
  176. <ul class="goods_list fl">
  177. <li>
  178. <h4>草莓</h4>
  179. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  180. <p>¥ 38.00</p>
  181. </li>
  182. <li>
  183. <h4>草莓</h4>
  184. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  185. <p>¥ 38.00</p>
  186. </li>
  187. <li>
  188. <h4>草莓</h4>
  189. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  190. <p>¥ 38.00</p>
  191. </li>
  192. <li>
  193. <h4>草莓</h4>
  194. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  195. <p>¥ 38.00</p>
  196. </li>
  197. </ul>
  198. </div>
  199. </div>
  200. <div class="common_model">
  201. <div class="common_title">
  202. <h3 class="fl">原地出产</h3>
  203. <ul class="fl">
  204. <li><span>|</span></li>
  205. <li><a href="#">鲜芒</a></li>
  206. <li><a href="#">加州提子</a></li>
  207. <li><a href="#">亚马逊牛油果</a></li>
  208. </ul>
  209. <a href="" class="more fr">查看更多&gt;</a>
  210. </div>
  211. <div class="common_goods_list">
  212. <div class="goods_banner fl"><img src="image_day/banner04.jpg" alt="banner"/></div>
  213. <ul class="goods_list fl">
  214. <li>
  215. <h4>草莓</h4>
  216. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  217. <p>¥ 38.00</p>
  218. </li>
  219. <li>
  220. <h4>草莓</h4>
  221. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  222. <p>¥ 38.00</p>
  223. </li>
  224. <li>
  225. <h4>草莓</h4>
  226. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  227. <p>¥ 38.00</p>
  228. </li>
  229. <li>
  230. <h4>草莓</h4>
  231. <a href="#"><img src="image_day/goods.jpg" alt="商品图"/></a>
  232. <p>¥ 38.00</p>
  233. </li>
  234. </ul>
  235. </div>
  236. </div>
  237. <div class="footer">
  238. <div class="links">
  239. <a href="">关于我们</a>
  240. <span>|</span>
  241. <a href="">联系我们</a>
  242. <span>|</span>
  243. <a href="">招聘人才</a>
  244. <span>|</span>
  245. <a href="">友情链接</a>
  246. </div>
  247. <p>
  248. CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved<br/>
  249. 电话:010-****888 京ICP备*******8号
  250. </p>
  251. </div>
  252. </body>
  253. </html>

4.简单的登录页

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>登录页</title>
  6. <link rel="stylesheet" type="text/css" href="css/reset.css">
  7. <link rel="stylesheet" type="text/css" href="css/main.css">
  8. </head>
  9. <body>
  10. <div class="login_header clearfix">
  11. <a href=""><img src="image_day/logo02.png" alt="logo"></a>
  12. </div>
  13. <div class="login_form_con clearfix">
  14. <div class="login_form">
  15. <img src="image_day/login_banner.png" class="login_banner fl">
  16. <p class="slogan fl">日夜兼程 . 急速送达</p>
  17. <div class="form_input_con fr">
  18. <div class="form_title">
  19. <h1>会员登录</h1>
  20. <a href="#">立即注册</a>
  21. </div>
  22. <form>
  23. <div class="form_group">
  24. <input type="text" name="username" class="input_txt" placeholder="请输入用户名">
  25. <span class="error">文字提示</span>
  26. </div>
  27. <div class="form_group">
  28. <input type="password" name="pwd" class="input_pwd" placeholder="请输入密码">
  29. <span class="error">文字提示</span>
  30. </div>
  31. <div class="form_group">
  32. <input type="checkbox" name="remember" id="remember" class="input_check fl">
  33. <label class="fl" for="remember">记住用户名</label>
  34. <a href="#" class="find_pass fr">忘记密码</a>
  35. </div>
  36. <input class="input_sub" type="submit" name="" value="登 录">
  37. </form>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="footer login_footer">
  42. <div class="links">
  43. <a href="">关于我们</a>
  44. <span>|</span>
  45. <a href="">联系我们</a>
  46. <span>|</span>
  47. <a href="">招聘人才</a>
  48. <span>|</span>
  49. <a href="">友情链接</a>
  50. </div>
  51. <p>
  52. CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved<br/>
  53. 电话:010-****888 京ICP备*******8号
  54. </p>
  55. </div>
  56. </body>
  57. </html>

 

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

闽ICP备14008679号