您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

使用CSS单击显示/隐藏div

使用CSS单击显示/隐藏div

CSS没有onlclick事件处理程序。您必须使用Javascript。

a:link {color:#FF0000;}    /* unvisited link - link is untouched */
a:visited {color:#00FF00;} /* visited link - user has already been to this page */
a:hover {color:#FF00FF;}   /* mouse over link - user is hovering over the link with the mouse or has selected it with the keyboard */
a:active {color:#0000FF;}  /* selected link - the user has clicked the link and the browser is loading the new page */
CSS 2022/1/1 18:21:57 有268人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶