Questions tagged [outline]

outline is a property in CSS, that is used to draw a line around the element. Question that has the problem related to outline property of CSS.

An outline is a line that is drawn around elements (outside the borders).

The outline is not a part of the element's dimensions, therefore the element's width and height properties do not contain the width of the outline.

This link contains the example of outline .

The tutorial is here.

473 questions
10
votes
4 answers

Given a large set of vertices in a non-convex polygon, how can i find the edges?

I have a set of vertices(called A) and I want to find all the border vertices such that this border vertices set is an outline of the shape. Many of the vertices in A are redundant because they are inside the shape, I want to get rid of these…
tommy chheng
  • 9,108
  • 9
  • 55
  • 72
9
votes
5 answers

Opera outline rendering bug?

Does anyone know something more about Opera outline bug? Check this out: http://jsfiddle.net/BYgMr/
TEST
Another div
#outline { border: solid 1px #000; outline: solid 1px red; …
anonymous
  • 1,511
  • 7
  • 26
  • 37
9
votes
1 answer

Remove Focus Outline from Input type="range" in Firefox

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…
bondydaa
  • 263
  • 3
  • 7
8
votes
1 answer

Firefox CSS outline bug?

On Chrome and IE9 the CSS outline that I'm specifying does exactly what I want, and acts as a second border around the element I'm styling. On Firefox though, the outline gets expanded outwards so that it encompasses the ::after pseudo element that…
Codemonkey
  • 4,455
  • 5
  • 44
  • 76
8
votes
1 answer

Outer Glow as HLSL shader

I'm still working on an image processing project that makes use of HLSL shaders to add Photoshop-esque filters like drop shadow, bevel and so on. Now I'm searching for an approach to implement an outer glow effect in HLSL. I'm currently…
barnacleboy
  • 539
  • 8
  • 18
7
votes
2 answers

CSS outline best practices

There has been some controversy regarding the practice of doing the following: a, input, textarea, button { outline: none; } Accessibility issues are a common concern. It is not my intention to remove this feature altogether (as the code above…
Christian
  • 27,509
  • 17
  • 111
  • 155
7
votes
2 answers

How to use org.netbeans.swing.outline?

I've heard of the package mentioned above, but i couldn't find a Download. Where can I get it?
JBeg
  • 1,357
  • 2
  • 10
  • 7
7
votes
12 answers

How to remove button outline in Opera on focus

Does anybody know how to remove the dotted outline on buttons in Opera?
Sanchosrancho
  • 73
  • 1
  • 8
7
votes
2 answers

Outline-offset does not get applied on Chrome/ Windows when outline-style is auto

I am applying a style to the focused element that is on the lines of: .:focus { outline: 4px auto #068065 !important; outline-offset: 2px !important; } (This is part of a Chrome extension code, so it does not need to be…
tanushree
  • 763
  • 1
  • 7
  • 20
7
votes
3 answers

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

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…
d.k
  • 4,234
  • 2
  • 26
  • 38
7
votes
2 answers

OpenGL GLSL Cel Shading and Outline algorithm

I have successfully implemented a cel shader using glsl. But my problem is about outlining everything and every example of opengl on the internet is pretty old, doesn't match current technology, so slow techniques etc... So I couldn't find anyway to…
deniz
  • 2,427
  • 4
  • 27
  • 38
6
votes
1 answer

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

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.
6
votes
2 answers

Finding common outline of multiple polygons

Im trying to find an algorithm for drawing a common outline between multiple polygons. What I mean is like on this picture: We have two rectangles (In my case they will not be rectangles, but polygons with most of their angles as right angle) and…
Pax0r
  • 2,324
  • 2
  • 31
  • 49
6
votes
3 answers

How to draw outline on the font(Pygame)

How can I draw an outline on the font? I want to use black font, but the background has to be blackish so it's hard to see the font. I assume myfont.render doesn't support drawing outline on the font. Is there other way?
jwoojin9
  • 295
  • 1
  • 5
  • 16
6
votes
4 answers

How to correctly draw text in an extended class for TextView?

I'm currently working on extending a TextView, adding an outline around the text. Thus far, the only problem I've been having is my inability to position the "outline" correctly behind a text. If I code the extended class like the one portrayed…
Japtar
  • 1,125
  • 1
  • 14
  • 24
1 2
3
31 32