Google Chrome 28.0.1500.95中的Html和CSS下拉菜单问题 [英] Html and CSS dropdown menu problem in Google Chrome 28.0.1500.95

查看:88
本文介绍了Google Chrome 28.0.1500.95中的Html和CSS下拉菜单问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。



我在使用chrome中的css显示html下拉列表时遇到问题,但它在Firefox中工作正常,即。可能是我的悬停属性工作不正常。但它正在使用Chrome以前的版本,如27.0.1453.116。让我知道解决方案。



任何建议将不胜感激。



感谢

Hi.

I am having issue in displaying html dropdown with css in chrome but its working fine in Firefox and ie. May be my hover property is not working fine.But it was working with chrome previous versions like 27.0.1453.116.Let me know the solutions.

Any suggestions will be appreciated.

Thanku

推荐答案

检查小提琴 - [演示] Google Chrome中的Html和CSS DropDown菜单问题 [ ^ ]。



这里的悬停工作正常。我找不到任何问题。
Check the fiddle - [Demo] Html and CSS DropDown menu problem in Google Chrome[^].

Here the hovering is working fine. I can't find any problem.


我回复很晚但并非最不重要。我可以帮助其他一些正在寻找这个问题解决方案的人。



i将以下属性用于.css文件中的每个类和元素。

-webkit-transition-property:background-color,color ;

-webkit-transition-duration:0.3s;



/ *显示属性将避免重叠背景颜色下拉项目* /

显示:table-cell;



问候
I am replying late but not least.hope it can help to some other who are in search of this problem's solution.

i have used below attributes into each class and element in .css file.
-webkit-transition-property: background-color, color;
-webkit-transition-duration: 0.3s;

/*display property will avoid the overlapping background color over dropdown items*/
display: table-cell;

Regards


这篇关于Google Chrome 28.0.1500.95中的Html和CSS下拉菜单问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆