+ 1
Border outside div tag?
Hey look at this code.. I want to make a box in the div tag where "yay" is written how am i able to do that with css? Please copy the code and then make something like this and share in comments... So i can understand easily https://code.sololearn.com/WlX7t883o01B/?ref=app
2 odpowiedzi
+ 4
Just add this line of code into your CSS
.paragraph1{
border: 2px solid;
}
You can select any thickness.. I have taken 2 px. you can select any other attribute instead of solid.
+ 2
Thank you Charitra Agarwal and ben hur sia that was helpful...