当我没有在它上面徘徊时,如何摆脱边界。 [英] How do I get rid of a border when I am not hovering on it.
问题描述
亲爱的人们,
我想以最好的方式解释自己。我做了一个自动完成功能,一旦我键入DOT,你会看到所有的域名,如.nl,.com,.org等。这是有效的,但是当我将鼠标悬停在它上面时,每个域都有一个边界,所以我做了Border:none;并且它工作但是一旦我的鼠标指针离开滚动条部分,其中所有的域都是边界出现在我最后触摸的那个上的seclond,所以只有当我离开滚动条部分的东西时,我已经改变了所有类中没有边框但是它不工作,我该怎么办?
Dear people,
I would like to explain myself the best way I can. I made a autocomplete function where once I type a DOT you will see all the domain names like ".nl, .com, .org etc." That works but every domain had a border around it once I hover on it, so I did Border: none; and it works but once my mouse pointer leaves the scrolbar section where all the domain are the border appears for a seclond on the one I touched last, so only when I leave the scrollbar section thing, I have changed all classes in none border but it doesn`t work, what do I have to do?
.ui-menu-item-wrapper {
height: 30px;
font-size:15px;
width: auto;
border: none;
}
.ui-menu-item-wrapper:hover {
font-weight: bold;
border:none;
height: 30px;
width: auto;
}
#ui-id-1 {
overflow: auto;
height: 170px;
width: 200px;
border: none;
}
我的尝试:
border:none;好几次。
我已经在每个班级都使用过它。
What I have tried:
border: none; several times.
I have used it in every class there was.
推荐答案
请在CSS下面使用这个
Please use this below CSS for that
text-decoration: none;
这篇关于当我没有在它上面徘徊时,如何摆脱边界。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!