27+ Double Lined Border Css. The secondary border is added with a pseudo element. Css by kaotik on mar 08 2020 donate.
I want to have a dashed or dotted border in html? To achieve the double border using css without any problems in getting them aligned properly, skew transforms are the best bet as we can always fix however, we cannot use double border with this approach because skew transformation would cause the border lines on the angled sides to look a. I have borders on all sides.
Dotted dashed solid double;} result
Adw's solution is good enough, only when there is only one p after the h2, but if there is another p, it will have a strange red line between the css selector for p immediately following h2 is h2 + p. Thanks for all your tips, chris. Ie6, ie7, ff2, ff3, opera 9.5, safari 3 and google chrome. In your description you explicitly described h2 followed by p should have the double border in between.