Skip to main content
Filter by
Sorted by
Tagged with
9 votes
3 answers
359 views

I want to create an angled text flow where the width of a text line is a known value --w. What I have so far is the code below: * { margin: 0 } html, body { display: grid } body { --w: min(...
Ana's user avatar
  • 37.6k
2 votes
2 answers
180 views

I am trying to build grid where some cells have elements combining shape-outside with some phrasing content. The shape is triangular (for simplicity), responsively filling half the cell. My problem is ...
Peter Krautzberger's user avatar
2 votes
1 answer
434 views

I am using shape-outside (boundary) and clip-path (content) to have a "triangle" with text on top of a photo. Safari and Firefox both work almost the same, but Chrome behaves strange (or ...
quinn_2000's user avatar
2 votes
0 answers
301 views

Dear Stackoverflow community, I hope you can help me. My main problem is that the shape-outside CSS property works in Chrome but doesn't work in Safari .oligosacharid-container { overflow: ...
Peter Retvari's user avatar
1 vote
1 answer
3k views

I'm using shape-outside to give a "magazine" feel to a website. Each page has a new image of a person and the text wraps around that person. Shape outside works perfectly and easy! Only ...
Oscar Godson's user avatar
  • 32.9k
1 vote
2 answers
78 views

I’m testing using css shape-outside to make text wrap a circle based on a div, the circle area is always a few pixel off . I set my css to shape-outside: circle(50% at 50% 50%); I suppose this will ...
Coding_with_a_Tractor's user avatar
1 vote
0 answers
55 views

I want the margin to be be an irregular shape that is fixed so that as I scroll up and down, the spacing of the words will automatically readjust to fit around the shape. to start I tried making a ...
abby.wbstr's user avatar
0 votes
0 answers
46 views

p { width: 50px; } .some-float { display: block; width: 80px; height: 1px; position: relative; float: left; shape-outside: polygon(0 0, 100% 0); } <div class="some-float"...
Desperado's user avatar
  • 322
0 votes
2 answers
73 views

I am pretty new with HTML, CSS and I wanted to know if this layout is possible to achieve. I have tried using the shape-outside property. But the result is coming out like this: This is what I have ...
Monk Jie's user avatar
0 votes
0 answers
69 views

This is a banner image, with 2 columns. Floated-div is slanted to one side (like a razor design), see the picture further down, and the text are suppose to follow the left alignment with the slanted ...
MageMedia's user avatar
0 votes
1 answer
235 views

Edit: I figured out the issue: shape-outside needs to be sibling, and not child, of the item that it wants to affect. I decided to rewrite the section as a grid (as recommended in the comments, thanks ...
Marco's user avatar
  • 3
0 votes
0 answers
83 views

I’m trying to implement an app that will combine a text, and an audio of the text being read, with “read-along” functionality: the line of text being read is highlighted. Also, clicking on a specific ...
Ramblin Wreck's user avatar
0 votes
0 answers
125 views

EDIT: How do I activate scrollbars and maintain my drawing after scrolling, like Paint application. As you can see I'm drawing a circle with 25px radius, outside the client rectangle, but I can't ...
Lucien's user avatar
  • 13
0 votes
1 answer
211 views

So I am using shape-outside: url(path-to-image); in my figure element, which has an img inside of it with the same url path. The figure width is a percentage though, so it's responsive and changes ...
Sandman's user avatar
  • 2,389
0 votes
2 answers
75 views

How to place text in the middle of the div? JavaScript solution is also acceptable. In this example the text is wrapping inside a rhombus. But not in the middle of the rhombus. div.box { --s:450px; ...
user1167761's user avatar
-1 votes
1 answer
220 views

When inserting an element with an image as shape-outside mask and translating the position, the mask is not translating, so the mask is not working properly. The same is happening if transforming a ...
Mike's user avatar
  • 5,846