- 浏览: 8693 次
- 性别:
- 来自: 深圳
-
最新评论
文章列表
今天在网上看到有个很不错的箭头标题效果
一看原来是用:before和:after实现的,并且利用了border来制作小三角的方法,觉得很不错,于是自己也试着写了个demo,感觉运用在工作当中也是非常的不错。
不多说,上代码:
<div class="list">
<div class="wrap">
<h2>这是标题的左边 <a href="#">红色箭头</a></h2>
</div ...
JQ的,写的不好~
<ul id="main_box">
<li class="select_box">
<span>请选择...</span>
<ul class="son_ul">
<li>选项一</li>
<li>选项二</li>
<li>选项三</li>
<li>选 ...
蛋疼菊紧,写了个tab切换效果
<div id="wrap">
<div id="tab-title">
<ul>
<li class="focus">tab1</li>
<li>tab2</li>
<li>tab3</li>
</ul>
...
1.What we AlWAYS do?
1.1 position of the css
In email,the external stylesheets for the html is not allowed,we just can use inline-style,write the style in the tag attribute.
1.2 Use table tag.
Spans,divs,ul and ol are used sparingly to achieve specific effects, while HTML tables do the bul ...
最近看书,练习下,写了个简单的拖拽
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content ...
关于Arguments对象 About Argument object
最近读书心得,有错误欢迎指正:)
在javascript中,arguments是一个函数对象,表示正在执行的函数和调用他的参数。Arguments有点象数组,但是它不是一个真的数组。所以,他具有length属性,可以代表传递给函数的参数的个数。
这是1.5参考:The arguments object is a local variable available within all functions; arguments as a property of Function can no longer b ...