Montana-Media-Arts / 341-work

Resource repo and homework wiki for MART341-WebDev
https://montana-media-arts.github.io/mart341-webDev/
2 stars 2 forks source link

Text border #44

Open livgomes opened 7 years ago

livgomes commented 7 years ago

I have added some borders around some of my text in my html, however I have had trouble expanding my border larger than the text box. I am sure it is some where on the website, but I have been searching for it and just can not find it, either that or I am not understanding how to do it correctly. Any help would be appreciated :)

Here's a link to my repo https://github.com/livgomes/week-08-Hw.git

aschurg commented 7 years ago

Try using padding in the proper css elements. For example:

.color-text { /* Draw a blue border 4px thick. */ padding: 10px; border-style: solid; border-width: 4px; border-color: blue; /* color the background green */ background: green; color: rbg(49, 186, 172); }`

livgomes commented 7 years ago

Thank you!!!