Jump to content

Scrolling text borders above and below

Recommended Posts

Posted

Hi,

 

I'm trying to achieve a border above and below my scrolling marquee, adding the border below works fine but when i try and add one above there is an additional line appearing which i don't want. I'm using the code as below:

.Marquee * {
   border-bottom: 1px solid;
}

.Marquee * {
   border-top: 1px solid;
}

 

I'm not very knowledgable on CSS so any help would be appreciated so I have a single line above and a single line below the scrolling text.

 

Thanks!

Screenshot 2022-05-16 at 15.41.23.png

Screenshot 2022-05-16 at 15.41.34.png

  • Replies 7
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
Posted
On 5/16/2022 at 12:09 AM, ArminB said:

hey there.

This should help:

 

.Marquee-svg
{color: #ff7f7f;
border-bottom: 1px solid #ff7f7f;
border-top: 1px solid #ff7f7f;
padding-top: 10px}

 

How do I get the border to appear on the outside of the white marquee box instead of inside it?

Screen Shot 2022-07-15 at 12.51.39 PM.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.