outline

how to remove textbox outline in Opera

随声附和 提交于 2019-12-12 02:56:33
问题 I tested the below code but gain no success: input[type="text"]:focus, input[type="password"]:focus { outline:none; -moz-transition: box-shadow 0.3s ease-out 0s; background-clip: padding-box; border: 1px solid #B6B6B6; border-radius: 3px 3px 3px 3px; color: #404040; font-size: 16px; height: auto; line-height: 16px; padding: 10px; } Is there something here I'm missing? 回答1: Opera applies a yellow outline to form inputs that have saved login information. I don't think it is possible to override

Firefox outline css property works different than Chrome [duplicate]

[亡魂溺海] 提交于 2019-12-11 17:31:48
问题 This question already has answers here : CSS “outline” different behavior behavior on Webkit & Gecko (2 answers) Closed last year . I am working with css outline property, and I found that it is working differently between Chrome and Firefox if descendant elements are outside. in Chrome, outline is only for itself range, even though any descendant elements are outside of itself area. in Firefox, outline is all range including all descendant elements. <div style=" margin: 100px; width: 100px;

::selection pseudo-element outline property

放肆的年华 提交于 2019-12-11 13:01:45
问题 In this reference At the bottom of the description, They state that the ::selection selector can use the outline property, but I haven't been able to get this to work. How do I affect outline with this selector properly? 回答1: An important note from the Mozilla Developer Network: The ::selection pseudo-element currently isn't in any CSS module on the standard track. It should not be used in production environments. Which browser supports which properties on this pseudo-element is largely

Is it possible to avoid the black overlay when clicking links on Safari on iPhone?

瘦欲@ 提交于 2019-12-11 08:29:36
问题 Is it possible to avoid the black overlay when clicking links on Safari on iPhone? there is something like this for the web version of Safari :focus { outline: 0; } so can I avoid to see a black box when i click anything on a web page on for safari on iPhone? 回答1: a { -webkit-tap-highlight-color: transparent; } 来源: https://stackoverflow.com/questions/2999006/is-it-possible-to-avoid-the-black-overlay-when-clicking-links-on-safari-on-iphon

Android L - android.graphics.outline

你说的曾经没有我的故事 提交于 2019-12-11 03:28:24
问题 According to the android developer page for the developer preview of L, it's possible to use the Outline class & define outlines for view's to display the shadows in the correct way. (http://developer.android.com/preview/material/views-shadows.html#shadows) In my case, the "L"-sdk I use, didn't found it. Therefore I couldn't import and use the class. According to the test project, stored in sdk/samples/android-L/ui/views/Elevation/ElevationDrag this class should be stored in "android.graphics

Outline a group of touching shapes with SVG

核能气质少年 提交于 2019-12-10 23:17:39
问题 For a certain style I'm going for, I want to outline a group of shapes in SVG. Applied to a group, the stroke property appears to outline each shape individually--effectively going on top of other shapes nearby. To explain my situation more clearly: I have a group of touching rectangles that are 8x8 pixels each. They do not form a larger rectangle, however. For simplicity's sake, let's say they form a cross. So I have 5 rectangles--1 in the center and one more on each side of that one. I want

Java Using OpenGL Stencil to create Outline

风流意气都作罢 提交于 2019-12-10 20:02:52
问题 I'm trying to render an outline of an object over the top of it but I'm having some difficulties. I'm not too good with OpenGL so most of it was from following tutorials. The desired effect is supposed to be something like this: But this is the outcome at the moment: The code I'm using to do this is: GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS); GL11.glEnable(GL11.GL_LIGHTING); GL11.glClearStencil(0); GL11.glClear(GL11.GL_STENCIL_BUFFER_BIT); GL11.glEnable(GL11.GL_STENCIL_TEST); GL11

Remove tap outline from anchor element on Android device viewed with Firefox mobile

白昼怎懂夜的黑 提交于 2019-12-10 13:37:58
问题 Firefox mobile on Android tablet places a default outline around an anchor element when it recieves focus with a tap event. I can find no way to remove it ie the equivalent of -webkit-tap-highlight-color: rgba(0, 0, 0, 0); for Firefox. 回答1: I don't think that this is possible through css for mozilla browsers. http://peter.sh/experiments/vendor-prefixed-css-property-overview/ Maybe you could bind a Javascript EventListener "onfocus" to the anchor with a callback which automatically blurs the

How to remove border / outline from focused radio input in Firefox on Linux

无人久伴 提交于 2019-12-08 20:31:34
问题 I know that there are pretty much answers on similar questions on SO but none of them seems to work for me. The problem is that in Firefox only on Linux (Windows is fine) radio inputs have an orange outline when focused. This outline is buggy when input is placed inside element with overflow: hidden : <div style="width: 100px; margin: 30px auto; overflow: hidden;"> <label><input type="radio" name="some_radio">radio 1</label> <br> <label><input type="radio" name="some_radio">radio 2</label> <

Remove Focus Outline from Input type=“range” in Firefox

只谈情不闲聊 提交于 2019-12-08 16:16:01
问题 I know there are other questions like this but I've tried everything they have suggested to no avail. This is a different question than Remove dotted outline from range input element in Firefox as I'm asking what is causing this rogue outline - the previous question answers how to get the colored outlines shown below. This SO question (Remove dotted outline from range input element in Firefox) mentions the firefox bug - https://bugzilla.mozilla.org/show_bug.cgi?id=932410 but it has since been