Home > Web Front-end > HTML Tutorial > 【定义CSS样式问题】CSS伪类样式_html/css_WEB-ITnose

【定义CSS样式问题】CSS伪类样式_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:34:47
Original
829 people have browsed it

我的代码是这样的:

可我的页面上没有效果:

这是怎么回事啊?我是用的火狐最新版




回复讨论(解决方案)

a:hover   {color:red;}

噢 谢谢指教 是我粗心把单词拼错了 应该是hover而不是hovor

我还想请教下我的visited好像没起到作用 这是什么原因呢?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template