Possible to build an svg that has fluid horizontal scaling, similar to old table-slice method?

前端 未结 4 1467
野的像风
野的像风 2020-12-30 06:23

I am attempting to build an svg that can be scaled horizontally and fluidly, similar to the old table-sliced images used to scale a header fluidly across the top of a page.

4条回答
  •  忘掉有多难
    2020-12-30 06:46

    This is a Javascript means to adjust the rectangles based on svg width. Sorry I couldn't create a CSS approach.

    
    
    
    
    
    
    




提交回复
热议问题