一位开发人员不喜欢Eclipse悬停Javadoc并且想要禁用它(一个选项),或者更好的是,只选择性地启用它(其他选项).他正在使用Eclipse 3.3.这可能吗?
我在桌面悬停时使用CSS进行颜色更改
#tabb tbody tr:hover td{
color:#006;
background:#d0e4f2;
}
Run Code Online (Sandbox Code Playgroud)
这在Chrome和Firefox中运行良好,但在Internet Explorer 8中不会发生悬停效果.
有没有办法使这个效果也适用于IE8?
我正在尝试为我的网站做一个按钮菜单,我对鼠标悬停时图像的位置有疑问.这是我到目前为止创建的http://jsfiddle.net/tNLUx/
在鼠标悬停时,我希望所选图像增长,而其他图像保持相同的位置,就像第一张图像一样......如何使向下图像增长并向下移动而不是向上移动?
这是我的一些CSS
#btnSocial {
width:100px;
position: relative;
opacity: 0.5;
-webkit-opacity: 0.5;
-moz-opacity: 0.5;
transition: 0.5s ease;
-webkit-transition: 0.5s ease;
-moz-transition: 0.5s ease;
}
#btnSocial:hover{
width: 150px;
opacity: 1;
-webkit-opacity: 1;
-moz-opacity: 1;
}Run Code Online (Sandbox Code Playgroud)
谢谢你的时间
干杯
如果我有标记:
<div class="a b"></div>
Run Code Online (Sandbox Code Playgroud)
其中.a类有一个与之关联的悬停类
并且.b类有一个与之关联的伪元素......就像这样:
div
{
width: 100px;
height: 100px;
}
.a { background: red; display: inline-block; }
.a:hover { background: green; }
.b:after
{
content: '';
display: inline-block;
width: 100px;
height: 100px;
margin-left: 100px;
background: pink;
}
Run Code Online (Sandbox Code Playgroud)
是否可以使用css来阻止伪元素触发.a类悬停?
我在jquery 1.10.1上运行了这个小jquery代码,我想要做的基本上是控制台登录悬停在li class dash_item上的悬停事件,但它只有在我点击项目时才有效,而不是在悬停时
码:
$(document).ready(function(){
$('.dash_item').on({
mouseenter: function(){
console.log("im here");
},
mouseleave: function(){
console.log("im out");
}
});
});
Run Code Online (Sandbox Code Playgroud)
jsfiddle在这里http://jsfiddle.net/JQAw3/
当我将font-awesome的图标(当它们堆叠在一起时)悬停在下面时(见图).我得到了这些奇怪的下划线.知道他们可以来自哪里?
资源:
<div class="text-center">
<!-- FB -->
<a href="http://www.facebook.com/share.php?u=${shareURL}"
target="_blank" style="color : #555">
<i id="facebook" class="fa-3x fa fa-facebook-square"></i>
</a>
<!-- Twitter -->
<a href="http://twitter.com/?status=Sign-Up+for+SolidTranslate+here!:+${shareURL}+@SolidTranslate" target="_blank" style="color : #555">
<i id="twitter" class="fa-3x fa fa-twitter-square"></i>
</a>
<!-- LinkedIn -->
<a href="http://www.linkedin.com/shareArticle?url=${shareURL}&title=Sign-Up%20for%20SolidTranslate%20here:%20${shareURL}&summary=To%20get%20started%20translating%20SolidWorks%20files%20register%2\
0here:%20${shareURL}&source=${shareURL}" target="_blank" style="color : #555">
<i id="linkedin" class="fa-3x fa fa-linkedin-square"></i>
</a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=${shareURL}"
target="_blank"
style="color : #555">
<i id="googleplus" class="fa-3x fa fa-google-plus-square"></i>
</a>
Run Code Online (Sandbox Code Playgroud) 我不知道我是如何进入这种状态的,但每当我将鼠标悬停在其中一个doc文件中的链接上时,Xcode文档窗口就会出现这种奇怪的"跳到顶部"行为.
例如,我将向下滚动到类引用的方法,当我将鼠标悬停在其中一个上时,文档窗口会立即跳回到顶部.
有人遇到过这种情况么?如果是这样,Xcode内是否有修复?
同时,在浏览器中打开文档可以解决问题.
有没有办法减缓悬停效果?我的网站上有悬停效果(已删除),在图片悬停时显示文字.我想稍微减慢效果.图片切换的速度有点大.
我该怎么办?
这里我有一些CSS:
#image-edges-beneath:hover{
background-color: blue;
}
#image-edges:hover{
background-color: blue;
}
#image-edges-beneat:hover:after{
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
border: 2px solid #F1FD6D;
}
#image-edges:hover:after{
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
border: 2px solid #F1FD6D;
}
Run Code Online (Sandbox Code Playgroud)
但这不起作用.唯一发生的事情是背景颜色有一个过渡,而我希望它只在悬停时改变,而边框我想要一个过渡,所以基本上边框渐渐变成颜色,而背景颜色在悬停时立即改变颜色.这就是我想要完成的,但这不起作用.:(任何想法用户?
我添加了css悬停属性来禁用按钮的悬停效果,但它似乎对我的情况不起作用,我该如何解决这个问题?
import Button from 'material-ui/Button'
import styled from 'styled-components'
const StyledButton = styled(Button)`
&:hover {
background: none;
}
`
export const SubmitButton = ({ onClick }) => {
return (
<StyledButton
variant="raised"
onClick={onClick}>
login
</StyledButton>
)
}
Run Code Online (Sandbox Code Playgroud) hover ×10
css ×7
html ×3
browser ×1
click ×1
doctype ×1
eclipse ×1
font-awesome ×1
javadoc ×1
javascript ×1
jquery ×1
material-ui ×1
pseudo-class ×1
reactjs ×1
wordpress ×1
xcode ×1