2016年3月18日

学习笔记--js的date对象

摘要: 在js中获取当前时间 <script type="text/javascript"> var date=new Date(); document.write(date.toLocaleString()); document.write("<hr>"); document.write(date); < 阅读全文

posted @ 2016-03-18 17:54 ShamSilence 阅读(129) 评论(0) 推荐(0)

学习随笔----css盒子模型

摘要: 在进行布局前需要把数据封装到一块一块的区域内 1.边框 border:2px(粗细) solid(线类型) blue(颜色); border:统一设置; 上 border-top; 下 border-bottom; 右 border-right 左 border-left 2.内边距 padding 阅读全文

posted @ 2016-03-18 11:09 ShamSilence 阅读(133) 评论(0) 推荐(0)

css和html的四种结合方式

摘要: 1.在每个html网页的body中使用 <div style="background-color:black;color:red;">asdasd</div> 2.使用html中的一个标签实现<style>标签,写在head里面 <style type="text/css"> div{ backgr 阅读全文

posted @ 2016-03-18 08:49 ShamSilence 阅读(367) 评论(0) 推荐(0)

导航