Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

CSS Tip ๐Ÿ“– Use CSS shape-outside to wrap text around shapes .column--left .shape { float: right; shape-outside: circle(100px at 100% 50%)); }

487,130 Aufrufe โ€ข vor 2 Jahren โ€ขvia X (Twitter)

10 Kommentare

Profilbild von jhey โ–ฒ๐Ÿป๐ŸŽˆ
jhey โ–ฒ๐Ÿป๐ŸŽˆvor 2 Jahren

Here's the @CodePen link! ๐Ÿค™ The trick is to use 2 columns with two elements for shape-outside, a semi-circle for each column ๐Ÿ“– Then you can power it with custom properties as seen in the video above ๐Ÿ˜Ž

Profilbild von jhey โ–ฒ๐Ÿป๐ŸŽˆ
jhey โ–ฒ๐Ÿป๐ŸŽˆvor 2 Jahren

The only "caveat"? ๐Ÿ‘€ You're limited in how you use it. You need to split your content into columns manually ๐Ÿ™ƒ It doesn't play nice with column-count Not the end of the world though and would look nice on some landing pages etc. ๐Ÿค™

Profilbild von Simon Vrachliotis
Simon Vrachliotisvor 2 Jahren

Now make the DVD screen saver bouncing thing and the text wraps around it to let it pass

Profilbild von Dheeraj Purohit เคงเฅ€เคฐเคœ เคชเฅเคฐเฅ‹เคนเคฟเคค โญ•โ—โญ•
Dheeraj Purohit เคงเฅ€เคฐเคœ เคชเฅเคฐเฅ‹เคนเคฟเคค โญ•โ—โญ•vor 2 Jahren

Woah ๐Ÿ˜ฒโœจ Is it all static elements(2 cols and circle) , I mean by position

Profilbild von ๐‘จ๐’๐’‚๐’•๐’‰๐’†๐’Ž๐’‚
๐‘จ๐’๐’‚๐’•๐’‰๐’†๐’Ž๐’‚vor 2 Jahren

Bro nailed it

Profilbild von Airem
Airemvor 2 Jahren

Shape-outside ? CSS is insane. What's left to add ?

Profilbild von Baiee
Baieevor 2 Jahren

service ๐Ÿ”ฅ

Profilbild von jhey โ–ฒ๐Ÿป๐ŸŽˆ
jhey โ–ฒ๐Ÿป๐ŸŽˆvor 2 Jahren

Should change my bio ๐Ÿ˜… "Demos as a service" "Tag me and demos will follow"

Profilbild von ๐‘๐ฎ๐ฌ๐ฌ ๐Ÿ–ค
๐‘๐ฎ๐ฌ๐ฌ ๐Ÿ–คvor 2 Jahren

I wonder if it works with images, I could see some cool stuff being created with this.

Profilbild von Luke Martin
Luke Martinvor 2 Jahren

Seeing float

ร„hnliche Videos

Anthropicโ€™s model found a molecular shape sitting in public data for forty years that nobody had bothered to name It was not hidden. It appears across thousands of deposited structures, in proteins that share no function and no ancestry. > SWEEP - every deposited structure read as geometry, with the biology labels stripped off > FORM - recurring three dimensional arrangements grouped purely by shape > CHECK - each group tested against the known motif catalogue to filter out the obvious > ORPHAN - the shapes that match no catalogued motif kept instead of discarded > WHERE - each orphan mapped onto what surrounds it in every protein it appears in Structural biology names motifs the way it finds them: one protein at a time, by someone who noticed. A shape that spans unrelated families gets missed. Each specialist sees it once and files it as a quirk of their own protein. Read without labels, the repetition is obvious. The same arrangement, hundreds of times, across proteins that do nothing alike. Where it sits is the interesting part. It keeps showing up at boundaries, right where one part of a protein hands off to another. That suggests it is doing something structural rather than chemical. Not a function, but a joint. Nothing is proven here. It is a named shape and a list of where to look, which is how every motif started. Public data has been scanned for sequences for decades. Almost nobody scans it for shapes nobody asked about. The shape, every family it appears in and the boundary pattern are laid out underneath.

wast3

21,278 Aufrufe โ€ข vor 10 Tagen