0

I wanted to create an effect like this around my border, basically a double sided border. Currently I am using an image as a background-image, but the issue comes when I want to make the site responsive. So I want to re-create this using CSS. Is this even possible?

enter image description here

enter image description here

Nishan Hitang
  • 855
  • 3
  • 10
  • 36
adit
  • 32,574
  • 72
  • 229
  • 373

3 Answers3

1

yes use border-style:double; and for inverted round border you can use jquery-plugin (jquery.corner.js) $(this).corner("bite"); also see this question.

Community
  • 1
  • 1
Math chiller
  • 4,123
  • 6
  • 28
  • 44
0

Yes this is possible to have a double border.

Example -

#myDiv {
    border:1px double black;
}
George
  • 2,371
  • 4
  • 13
  • 15
0

The below code will put the double border.

CSS

p{
    border-style:double;
}

HTML

<p>A double border.</p>
Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Gourav
  • 1,765
  • 2
  • 15
  • 16