I wants to add dotted border to container like image provide - border

What I am getting is space between container and dotted border
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?

Related

How to add text in a bootstrap card?

I want to create something like below -
The card is indicated by the blue color inside which we have two texts. My approach was to add two divs inside the card div but the problem I am facing with that is, I want to put an image in the card and adding it in background doesn't fill the whole card and leaves some margin, which I tried to fix but didn't work.And have to write a lot of css to fix the margins padding etc for both image and text.
Is there a better way to achieve this ?
In place of blue color I will have an image.

How can I create transparent divs that have a picture as background on an otherwise black background?

I want to recreate an interface similar to Windows Phone 10.
You can see an example of what I try to achieve in HTML in this picture:
The middle tiles act like Windows on the baby picture while the space between tiles is black.
There's no magic going on here. In the picture you've supplied the phone has a desktop of a child that is letterboxed (black stripe across top and bottom). The tiles on the top and bottom of the screen are opaque and show their own backgrounds. The tiles in the middle are fully transparent, but have a solid black border to them to show the child behind them.
To make the tiles, you simply need this:
.tile { background-color:rgba(0,0,0,0);
border: 3px solid black;
}
Take a look at this fiddle for a basic example: https://jsfiddle.net/Lnafvvx9/6/
For a dynamic approach:
You could slice a picture in many litte parts (and delete the sliced borders). Then you create and align different divs with a individual background image containing your sliced picture parts.
There is also a kind of work around for static pages:
Create one div with the big (not sliced picture).
Use a transparent PNG image containing only the "border" of the black background. Place that in a div on top of the other div and you got the style. Then you need to add little divs ontop of the positions where you can see the picture.
The important thing is, that these designs require pixel perfect static layout. This means you can't scale divs size or change the position when the browser window or screen is smaller. But its also the easiest way do do that and the last suggestion allows to change the picture without slicing it.
For real dynamic approach you could load the same picture (unsliced) in every button (use different css id for everyone) and position the background of them individually to fit together. The advantage of this is, that you can then use CSS3 for instance to scale the button size on hover. This can lead to a cool expanding image effect. Just look up
http://www.w3schools.com/cssref/pr_background-position.asp
http://www.w3schools.com/css/css3_animations.asp
I hope that helps :)

To draw horizontal line in tablix region

I am using SSRS 2005(MS-BIDS 2005) to design reports.For designing one of the table i have a requirement to draw a horizontal lines above and below group headers and footers as shown in the image below
When i try to drag and drop a line from the tool box, i get the below error
Is there any way using which i can draw lines as shown in the image.
Thanks in advance :) .
You can use borders property. Make top and bottom border style as solid in border style and rest as None. Then border color as Black do it where you want lines. And just set border style as None where you don't want it.

Kind of background-top (as border-top)

I was wondering if is this possible, or not.
I have this rectangle, bordered with 1px solid black.
CSS
.box {border: 1px solid #000000}
Soon as I am actually developing an hand-draw template, I assume to have this in dropdown menus:
Is this possible, using background property?
EDIT: I don't know the size of the dropdown, and it's not good idea create it with fixed size (the menu need to be editable)
Yes, but it will need to be a fixed size if you don't find a solution that makes it expandable. I would leave the top open ended, and make the image rather tall with long sides so it can accommodate your content by anchoring it to the bottom of your drop down div. Anything leftover will be cut off at the the top of the div anyways because the background is exclusive to it.

Div tag borders

me and a mate are working on a html app similar that will look similar to the ipad twitter app.
http://www.iampersandi.com/wp-content/uploads/2010/04/photo3.png
I am wondering how they created the feint lines that seperate the dark grey user boxes.
I currently have this as a resizeable div, with each user having it's own div within that (eg Chris Purillo and Jeff Pulver would be in separate divs within the large resizeable div).
Is the feint line separating them just a clever truck using background colors with css3 or is there a better way to create this?
You could try doing:
border-top:1px solid #46464f;
border-bottom:1px solid #282832;
i would just use a background image that is 1px wide and 2px high with the two associated colors and set it to the top of the div
#div {
background:url('border.jpg') repeat-x top
}
or even set it as a border-image: css property
http://www.css3.info/preview/border-image/