dotted-line

Can't get rid of dotted outline in Firefox links?

我与影子孤独终老i 提交于 2019-12-05 15:29:00
I have a list full of a imgs: <ul> <li><a href="#"><img src="test.png" /></a</li> <li><a href="#"><img src="test.png" /></a</li> <li><a href="#"><img src="test.png" /></a</li> (...) </ul> When I click them in Firefox, there's dotted outline (who the heck invented that and why? so ugly!). I want to get rid of them, but style "outlines" etc. doesn't seem to work, I've tried all of options below: #ul li img:active { -moz-outline-style: none; -moz-focus-inner-border: 0; outline: none; outline-style: none; } #ul li img:focus { -moz-outline-style: none; -moz-focus-inner-border: 0; outline: none;

How to create a dotted border around a box in flutter?

落爺英雄遲暮 提交于 2019-12-05 06:32:33
I am building a list of boxes layouts in my app using flutter. I want dotted border around the box. I have used card widget to create the boxes. But, how can I get dotted border around the boxes? EDIT I have added this as a package in pub . Now, all you need to do is DottedBorder( color: Colors.black, gap: 3, strokeWidth: 1, child: FlutterLogo(size: 148), ) Working Solution [Outdated] Like tomerpacific said in this answer , Flutter does not have a default implementation for dashed border at the moment. I worked for some time yesterday and was able to come up with a solution using CustomPainter

How to make a dotted border on a Border element in Silverlight?

假如想象 提交于 2019-12-05 05:20:31
How can I make the bottom border of this Border Silverlight element have a red dotted inside of a red solid line? Border border = new Border(); border.CornerRadius = new CornerRadius(5); border.BorderThickness = new Thickness(0, 0, 0, 1); border.BorderBrush = new SolidColorBrush(Colors.Red); Can you replace the border with a Grid and give it a Rectangle that fills the whole area? <Rectangle Stretch="Fill" RadiusX="10" RadiusY="10" StrokeDashArray="10, 2" Stroke="Black" Fill="White" /> The StrokeDashArray can be used to draw it dotted but a Border has no such property. EDIT: Since I noticed you

Line of dots between items

我的未来我决定 提交于 2019-12-04 10:29:40
Restaurant web site and menu. I need to get "line of dots" between menu item and price. I need to get it without writing dots manually one by one. This feature should work automatically. Is it possible to create this by using background of span or div etc? Where I am Where I need to be Thanks for advance. I think you look for something like this: html <div> <div>Marinated Olives</div> <div class="dot"></div> <div>4.00E</div> </div> css .dot{ border-bottom: dotted 3px orange; width: 100px; float: left; position: relative; display: block; height: 12px; margin: 0 5px 0 5px; } div:first-child, div

android, how to draw dotted line in edittext

廉价感情. 提交于 2019-12-03 18:14:12
问题 I refered to this link: How do I make a dotted/dashed line in Android?, and used DashPathEffect . But this does not work for me? why? my code: public class NoteEditText extends EditText { private Paint mPaint; public NoteEditText(Context context) { super(context); } public NoteEditText(Context context, AttributeSet attrs) { super(context, attrs); mPaint = new Paint(); mPaint.setStrokeWidth(1); mPaint.setStyle(Paint.Style.FILL_AND_STROKE); mPaint.setColor(Color.DKGRAY); PathEffect effects =

How can I remove the dotted lines on a SELECT/OPTION dropdown control in Firefox?

拜拜、爱过 提交于 2019-12-02 19:01:29
In Chrome and other browsers my dropdown looks fine : However, in Firefox it has unwanted dotted lines: I have successfully removed the unwanted Firefox dotted lines for buttons and input elements with these CSS statements: button::-moz-focus-inner { border: 0; } input::-moz-focus-inner { border: 0; } so I thought these would work for the select/option elements, but they don't: select::-moz-focus-inner { border: 0; } option::-moz-focus-inner { border: 0; } How can I remove the dotted lines in this dropdown so that it appears as in Chrome and other browsers? Addendum These don't work either:

HTML Canvas - Dotted stroke around circle

本小妞迷上赌 提交于 2019-11-30 15:26:35
问题 I do know there is no native support for doing dotted stroke lines rendered on a canvas, but I have seen the clever ways people have been able to generate support for this. What I am wondering is if there is any way to translate this to allow for rendering dotted strokes around shapes (specifically circles)? 回答1: Live Demo calcPointsCirc takes 4 arguments, the center x/y, the radius, and the length of the dashes. It returns an array of points, x,y,ex,ey. You can just loop through the points

HTML Canvas - Dotted stroke around circle

旧城冷巷雨未停 提交于 2019-11-30 14:21:20
I do know there is no native support for doing dotted stroke lines rendered on a canvas, but I have seen the clever ways people have been able to generate support for this. What I am wondering is if there is any way to translate this to allow for rendering dotted strokes around shapes (specifically circles)? Live Demo calcPointsCirc takes 4 arguments, the center x/y, the radius, and the length of the dashes. It returns an array of points, x,y,ex,ey. You can just loop through the points to draw the dashed circle. There's probably much more elegant ways to do this but figured Id give it a shot.

android, how to draw dotted line in edittext

青春壹個敷衍的年華 提交于 2019-11-29 14:58:39
I refered to this link: How do I make a dotted/dashed line in Android? , and used DashPathEffect . But this does not work for me? why? my code: public class NoteEditText extends EditText { private Paint mPaint; public NoteEditText(Context context) { super(context); } public NoteEditText(Context context, AttributeSet attrs) { super(context, attrs); mPaint = new Paint(); mPaint.setStrokeWidth(1); mPaint.setStyle(Paint.Style.FILL_AND_STROKE); mPaint.setColor(Color.DKGRAY); PathEffect effects = new DashPathEffect(new float[]{5,5,5,5},1); mPaint.setPathEffect(effects); } @Override public void

Objective-C SpriteKit Create dotted line to certain points

。_饼干妹妹 提交于 2019-11-28 13:03:18
I have a certain point at the bottom of the screen . . . when I touch the screen somewhere, I'd like a dotted line to appear between the point, and the point my finger is at. The length and rotation of the line will change based on where my finger is, or moves to. I'm assuming I'd make the dotted line with a repetition of a small line image, but I guess that's why I need your help! Note that all this can be organized better, and I personally don't like SKShapeNode in any shape :) or form, but this is the one way to do it: #import "GameScene.h" @implementation GameScene{ SKShapeNode *line; } -