0

I want to delete the canvas space between the first and second lines.

<canvas></canvas><canvas></canvas>... more <canvas>

jsfiddle

and, I want to overlap all canvas by one pixel.

Like this

Is that possible?

devyyj
  • 1
  • 2
  • sorry, jsfiddle link is https://jsfiddle.net/dk5xewzs/ – devyyj Aug 24 '20 at 08:03
  • 1
    Welcome to StackOverflow! Please, fix the images because are the second is same as the first (also you can insert `!` before the `[jsfiddle][1]` and `[Like this][1]` to show them as overview). | Also don't insert images as code or the image will lose the hyperlink – xKobalt Aug 24 '20 at 08:06
  • vertical--align:top and then margin:0 0 -1px -1px – Temani Afif Aug 24 '20 at 09:15

2 Answers2

0

Just apply this style:

canvas {
    border:1px solid;
    margin-bottom: -5px;
    margin-right: -1px;
}
gurumaxi
  • 365
  • 2
  • 11
0
canvas {
  border:1px solid;
  margin: 0;
  width: 49.5%;
  float: left;
}