somrigostsås 🧀
KPCKevin Powell - Community
•Created by somrigostsås 🧀 on 5/2/2024 in #front-end
"Overlay" section, between section, with dynamic content
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1235519554537390122/image.png)
5 replies
KPCKevin Powell - Community
•Created by somrigostsås 🧀 on 2/9/2024 in #front-end
Vertically align `label` and `input`, without messing up the line-height?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1205449608793161758/Screenshot_2024-02-09_at_10.28.38.png)
5 replies
KPCKevin Powell - Community
•Created by somrigostsås 🧀 on 2/2/2023 in #front-end
Having a button behave like a link inside a paragraph (wrapping text)
I've been trying to accomplish something for some time now, but can't figure out how to do it. I have a paragraph with some text in it. At one point, I want to add a button (which opens a modal). The problem is, I don't want the text to break to a new line. I want it to behave like a link. I've tried
display: inline
, different types of white-space
, overflow-wrap
and so on, but nothing works. I've even tried to compare the computed CSS between the button and an a
tag, but can't seem to find anything relevant that would cause it to behave the way it does. Any ideas on how to solve this?12 replies