Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Flexible width line between two elements with CSS? Re: Flexible width line between two elements with CSS?

#111002
nichodiaz
Member

maybe im confused.. but it sounds like you want to float an object to the left and float an object to the right and then have a line connect each of these two objects. but you want them to have the relative ability. so you would set the width to em which is the elastic tag. so the line will stretch or shrink.

I posted the code here as you asked me too…

http://codepen.io/anon/pen/omEzx