2016年11月19日
摘要: html部分 <html> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" type="text/css" href="css/reset.css"/> <link rel="stylesheet" href= 阅读全文
posted @ 2016-11-19 19:58 代码小公主 阅读(3794) 评论(4) 推荐(2) 编辑
摘要: var arr = [4, 0, 7, 9, 0, 0, 2, 6, 0, 3, 1, 0];要求将数组中的0项去掉,将不为0的值存入一个新的数组,生成新的数组 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <tit 阅读全文
posted @ 2016-11-19 11:25 代码小公主 阅读(1103) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1 { height: 100px; width: 100px; background-color: re 阅读全文
posted @ 2016-11-19 10:57 代码小公主 阅读(949) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> ul, li { margin: 0; padding: 0; list-style-type: none; } 阅读全文
posted @ 2016-11-19 10:53 代码小公主 阅读(487) 评论(0) 推荐(1) 编辑