0
CSS Border
Hey guys i was wondering how i make the css border width shorter I'm using a "double-border" so when i change the width it changes the space between the double border. I would like the border to be about half the page in length and not the whole page.
4 odpowiedzi
+ 5
Please, add your code here :))
+ 2
Why dont you use outline property of css to adjust outer and inner border style , color , etc
0
p.double{
border-style: double;
border-width: 10px;
max-width: : 50px;
}
<p class="double">
<img src="Drig.png" width="110px" height="100px"/>
<img src="dunsparce evo.png" width="110px" height="100px"/>
<img src="griffauna.png" width="110px" height="100px"/>
<img src="venomite.png" width="110px" height="100px"/>
</p>
[The code I put in]