Murugiah Posted January 6, 2021 Share Posted January 6, 2021 Site URL: https://murugiah.com/ Hi! so i'm looking to add a multi coloured gradient border frame around the edge of my entire site. I also need to go all the way to the bottom of the site so that when i scroll down the bottom of the border is at the bottom of the website. Hope this makes sense. Beyondspace 1 Link to comment
Beyondspace Posted January 7, 2021 Share Posted January 7, 2021 17 hours ago, Murugiah said: Site URL: https://murugiah.com/ Hi! so i'm looking to add a multi coloured gradient border frame around the edge of my entire site. I also need to go all the way to the bottom of the site so that when i scroll down the bottom of the border is at the bottom of the website. Hope this makes sense. Could you try this in custom css of the main page body { position: relative; z-index: 1; padding: 30px; border: 5px solid #f00; background: #ff9600; } body:before { content: ""; position: absolute; z-index: -1; top: 5px; left: 5px; right: 5px; bottom: 5px; border: 5px solid #ffea00; background: #4aa929; } body:after { content: ""; position: absolute; z-index: -1; top: 15px; left: 15px; right: 15px; bottom: 15px; border: 5px solid #00b4ff; background: #fff; } tuanphan 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment