Layout & Design

Fading the edges of a Ticker in Framer

Fading the edges of a Ticker in Framer

Fading the edges of a Ticker in Framer

Wes

·

5:09

·

8.2K views

·

About this lesson

In this quick tip, we’ll build a ticker that fades out into the edges in Framer. It keeps scrolling content focused and works reliably on any background

We’ll set up the ticker, compare two fade approaches, and finish with a clean and versatile mask-based solution.

https://www.youtube.com/watch?v=2nF62yPNWyc&t=0s Intro

https://www.youtube.com/watch?v=2nF62yPNWyc&t=25s Building a simple ticker layout

https://www.youtube.com/watch?v=2nF62yPNWyc&t=72s Configuring the ticker effect

https://www.youtube.com/watch?v=2nF62yPNWyc&t=120s The wrong way to fade edges

https://www.youtube.com/watch?v=2nF62yPNWyc&t=194s Why overlay fades aren't reliable

https://www.youtube.com/watch?v=2nF62yPNWyc&t=214s Fading edges with a mask

https://www.youtube.com/watch?v=2nF62yPNWyc&t=267s Final preview and wrap-up

Sign up: https://framer.link/yt

Follow: https://framer.link/yt-x

Learn: https://framer.link/yt-academy

0:00So, someone told me that it was no0:01longer possible to fade the edges of a0:03ticker uh inside of Frame. Just thought0:06I'd be a good guy, come out here and uh0:08make a video to show [music] you how0:11wrong you are.0:13I'm just kidding. I mean, you are wrong,0:15but I'm actually making this video to0:17teach you how to make this effect inside0:19of Framer. Uh it's educational.0:24So, here we are in a fresh project,0:26except for these images here. First0:28thing I'm going to do is select this row0:31here and then just hit shift A. If you0:34don't use shift A, this is your sign to0:36start using it. It will just wrap0:38whatever you select in a stack and it0:41also sets the width and the height to0:43fit. I mean, that's just that's just a0:45no-brainer, right? It's a two steps in0:47one. Really efficient. So, now let's do0:50the same to this row here. And for my0:53own sanity, I'm I'm just going to name0:55these layers. I'll name them both0:57ticker.0:59Now we've got these two stacks, but a1:02lot of good that that does us when it's1:03not even on the page. So, let's drag it1:07and drop it. Okay, so that's step one1:10sorted. Now, I've just got to turn these1:12into tickers. So, with both of them1:15selected, let's head over to the1:17properties panel and click effects, then1:21click ticker.1:23I'm going to set the speed to 20%. And I1:26want the top row to go left. So that's1:28that's totally fine. I'll just leave it1:30like that. But let me just select the1:31bottom row real quick and switch the1:34direction to right. So now let's check1:36the preview.1:38I mean that looks pretty good, right?1:40It's a cool effect in itself where it1:41goes like across the full width of the1:43screen, but that's not what you clicked1:45on this video for. So let's fade the1:48edges. Before I do that though, I just1:49want to increase the gap between these1:51images. So, with both ticker stacks1:54selected, I'm just going to increase the1:55gap to 20. And I'm doing that because I1:58just I just think it looks a little bit1:59better. So, how are we going to fade2:01these edges? Well, there's actually a2:04few ways. First, let me show you the2:07wrong way. That's right. If you do it2:10this way, you build websites wrong. Bet2:13you're feeling pretty scared right now.2:15So, first, let's select I was kidding. I2:17was kidding, by the way. Earlier when I2:19said that you build websites wrong. I2:21was kidding. It's uh it's f it's fine to2:23do things differently even if they are2:26wrong. Anyway, so let's set the width of2:29both of these tickers to fill so that it2:33only goes to the end of the container2:35and not past it. Now I'm just going to2:38hit F to open the frame tool and draw a2:41frame. And I'm just going to drag it2:43onto the ticker. Then I'm going to2:45switch the position type to absolute2:48and make sure it's pinned by 0 pixels to2:52the top, the right, and the bottom. Then2:56I'll just switch the width to 25%.2:59And we'll also change the fill to a3:02gradient where the first point is black3:06and the second point is transparent.3:09Then when you rotate it, it gives the3:11illusion that it's fading into the3:13background. Now, the reason I don't love3:16this way is because it only works when3:18the background is like a single color.3:20So, that means no images, no patterns,3:23no videos, and that's all very limiting.3:26So, to drive the point home, I'll just3:28change the background color to white so3:30you can see what I mean. I'm sure you3:32can see my point now. So, let me show3:34you another more versatile way of doing3:37this using a mask. So, let me delete3:40this first cuz we don't need it. Then3:42I'm going to select both of the tickers,3:45go to styles,3:47mask, then we'll just rotate the3:50gradient. And you can see it's already3:52starting to work, but we want it to fade3:54from both sides. Right? Right now it's3:56just the one. So we need to add two more3:58points.4:01The outside ones should have an alpha of4:05zero, which just means it's totally4:08transparent. And the inside points4:11should be 100% visible. Now we can just4:15clean it up a little by dragging the4:17points where you want them. By holding4:19shift, you can actually snap it to the4:21nearest increment of five. So 25 and 754:24is what I'm going with. So now let's4:27just give it one final preview.4:31Hate to say I told you so,4:34but you did say this was not possible.4:37Jokes aside, guys, uh if you [music] do4:40come across any other effects that you4:42think are not possible in Framer,4:44actually [music] would love for you to4:45let me know so that I can uh make4:47another video proving you wrong. As4:50usual, [music] this is a very, very4:52powerful effect. So, use it wisely and4:56I'll see you next time.
Also coversFrames

Watch on YouTube ↗

More in this topic

8 Framer shortcuts you're probably sleeping on4:19
8 Framer shortcuts you're probably sleeping on
Layout & Design3K views · 2 months ago
Framer Update: Stack Sorting and Bento Grids2:16
Framer Update: Stack Sorting and Bento Grids
Framer Update7K views · 2 months ago
Sharing Vector Sets Across Projects (Vectors Lesson 7)3:41
Sharing Vector Sets Across Projects (Vectors Lesson 7)
Layout & Design1K views · 3 months ago
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)3:38
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)
Layout & Design2K views · 3 months ago
Animating Vectors in Framer (Vectors Lesson 5)4:25
Animating Vectors in Framer (Vectors Lesson 5)
Layout & Design4K views · 3 months ago
Customizing Vectors with Variables in Framer (Vectors Lesson 4)4:59
Customizing Vectors with Variables in Framer (Vectors Lesson 4)
Layout & Design3K views · 3 months ago
Replace component instances site-wide in Framer1:39
Replace component instances site-wide in Framer
Layout & Design4K views · 4 months ago
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)6:58
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)
Layout & Design3K views · 4 months ago

Create a free website with Framer, the website builder loved by startups, designers and agencies.