
本文共 2829 字,大约阅读时间需要 9 分钟。
CSS ������������������������������
CSS���������������������CSS���������������������������������������������������������������������������������������������������������������������������������������CSS���������������������������������������������
1. CSS ������
CSS������������������������������������������������������������������������������:link
���:visited
���:hover
���:active
������
a:link { color: #ff0000; } /* ��������������������� */a:visited { color: #00ff00; } /* ��������������������� */a:hover { color: #ff00ff; } /* ������������ */a:active { color: #0000ff; } /* ��������������� */
������������������������������������������������������������������������������������������������������������������������������������DOM���������������������������������������������
������������������
- ���������������������������������������������������������������������������������������������������������������������������������
2. CSS ���������
������������������������������������������������������������������������������������������������������������:first-child
���:last-child
���:nth-child
������
ul li:first-child { font-weight: bold; } /* ������������������������ */ul li:last-child { background: #f0f0f0; } /* ������������������������������ */ul li:nth-child(odd) { font-family: Arial; } /* ��������������������� */
nth-child(n)���������������������������������������������
- ������
- ������
- ������
- ������
������������CSS���������������������������������������
ul li:nth-child(3) { background: #e0e0e0; }
3. ���������������
���������������������������������������CSS���������������������������������������:before
���:after
������������������������������������������������
p:after { content: "������������������������������"} }a:before { text-indent: -1em; }
������������������������������������������������������������������������������������������������������
���������CSS������������
li::before { content: "���"; }
���������������--Length������������������������������
content
������������������������������������������
- ������CSS������������������������������������������������
4. ��� unemploymentTips
���������������������������CSS���������������������������������������������������������������������
- ���������������������������������������������������������DOM������������������������������������
- ���������������������������������������������������������������������������
- ������������������������������������������������������������������������������������������
���������������������������������������������������CSS���������������������
- ������������������������������
- ���������������
- ������������������������������
- ������������������������������
������������������������������������CSS������������������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
