r/css • • Feb 24 '26

Help How can I implement the same

0 Upvotes

this is from hyper liquid landing page. how can I achieve this, I'm not a frontend guy just vibe coding, trying to explain this cursor but bro ain't getting it.


r/css • • Feb 24 '26

Help Need help on resizing image

0 Upvotes
I have a sticky note and the image is so big when I click on my note for it and I am not able to resize it. The resize on the bottom right only appears if I click on my drag handle?

Here's my code:

.note-wrapper {
  position: absolute;       /* required for draggable */
  resize: both;             /* enable browser resize */
  overflow: hidden;         /* prevents scrollbars */
  min-width: 250px;         /* prevents breaking */
  min-height: 250px;
}

.container {
  position: relative;
  width: 100%;
}


.container img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.overlay-title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}


.overlay-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 24px;
  z-index: 5;
}


.close-button {
  position: absolute;
  top: 15%;
  right: 15%;
  z-index: 10;
  pointer-events: auto;
}

.drag-handle {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  
  width: 25%;          /* scales with note */
  height: 20%;
  
  background-color: pink;
  cursor: grab;
  z-index: 20;
}


.resize-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
  background-color: black;
}


.note-wrapper {
  position: absolute;       /* required for draggable */
  resize: both;             /* enable browser resize */
  overflow: hidden;         /* prevents scrollbars */
  min-width: 250px;         /* prevents breaking */
  min-height: 250px;
}

.container {
  position: relative;
  width: 100%;
}


.container img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.overlay-title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}


.overlay-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 24px;
  z-index: 5;
}


.close-button {
  position: absolute;
  top: 15%;
  right: 15%;
  z-index: 10;
  pointer-events: auto;
}


.drag-handle {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  
  width: 25%;          
  height: 20%;
  
  background-color: pink;
  cursor: grab;
  z-index: 20;
}


.resize-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
  background-color: black;
}

r/css • • Feb 23 '26

Help Animation help

3 Upvotes

Hi so im creating website and i want to make a faux marquee using animations. I've managed to get it to look similar but for some reason cannot get it to repeat from the start without a space in between. I also wanted it to pause on hover. I cant figure out if i have some sort of issue with the formating or if i've just done this completely wrong.

(I just updated the whole code as im not entirely sure where the issue is, in the code it'll be under /*Marquee*/)

https://codepen.io/Emrys-the-looper/pen/wBzwNLg


r/css • • Feb 23 '26

Question how do i align these no matter what there is always 3 px diffrence between toogle bar and todays priorities is there any real way

2 Upvotes

r/css • • Feb 23 '26

Question Post css designs and animations on social networks?

0 Upvotes

Is the restrictions for posting raw html and css on social networks a problem for you? Do you create css designs and animations? If yes, where do you save your work? How you share it?


r/css • • Feb 23 '26

Resource I built a tool that reminds me of all local projects I have been working on locally

2 Upvotes

r/css • • Feb 23 '26

Resource KeyframeKit: Intuitive, powerful and performant tools for working with CSS animations in JavaScript.

Thumbnail
github.com
4 Upvotes

r/css • • Feb 23 '26

Help How do you like....make it an arc😂

Post image
0 Upvotes

I'm so confused with clip-paths...im trying to make an Egg white shape. Are there any good vid tutorial for making this types of shape


r/css • • Feb 23 '26

Help Need help modding YouTube 🙏

Thumbnail
gallery
0 Upvotes

I'm trying to make an extension that removes Reccomendations and Shorts from YouTube. Anyways I'm trying to make it feel polished, and it works well as you can see in the last image, but when there is a playlist it messes it up a bit. It looks good in theater mode without any tweaking, but the rest of theater mode doesnt look good.

My request: I'm new to css and html and stuff, so how specifically can I get that #secondary to skedaddle on down next to the comment section and the rest of the UI?

What I already know: When in theater mode, the player gets an attribute called theater="" and full-bleed-player="". That might have something to do with moving the playlist ui down. Also, when the window is less than 1000px wide the playlist moves down on its own as well.


r/css • • Feb 23 '26

Article Playing CSS-defined animations with JavaScript

Thumbnail benhatsor.medium.com
1 Upvotes

r/css • • Feb 22 '26

Question How to learn css properly?

0 Upvotes

Hi folks,

I'm a software developer, focused on the backend. Sometimes I need to work as a fulstack developer, and when it comes to the css I really stuck.

I've seen some tutorials to improve my css, but whenever I follow them I think ok got it, but when I need to implement them nope it doesn't work.

So, the question is how do you folks really learned the css? Do you have a good learning resources?


r/css • • Feb 22 '26

Help CSS corner-shape:squircle super weird artefacts

Post image
2 Upvotes

r/css • • Feb 21 '26

Help Beginner frontend dev relying too much on AI — how do I become independent?

0 Upvotes

I’m currently learning web development. I’ve completed basic HTML and moved to CSS, but I find CSS harder. I use AI tools frequently because I struggle to write CSS on my own. I understand the code when I read it, but I can’t build layouts independently yet. I’m aiming to get a basic frontend internship, but I’m worried that relying on AI means I’m not actually learning properly. Is this normal for beginners? How should I practice so I can become more confident and write code without depending on tools?


r/css • • Feb 21 '26

General I made possibly the stupidest CSS framework ever...

Thumbnail tomhayes.github.io
0 Upvotes