javascript - CSS3 Transitions from 'left' property to 'right' property -
i creating slider portfolio website.
the issue having each section space out each other. jquery, change classes , let css handle animations. essentially, changed left property percentages. however, 10% left not equivalent 90% left have 10% left , 10% right. however, when css transitions not take account switching left right property.
here website: http://devdesigned.com/intrinsecus
note: @ moment, works -webkit browsers because have not gone in add other compatibility css.
all boxes have same width. use margin-left:-box_width/2; , you'll have use percentage left. 85% left same 15% right. not forget add responsive design boxes won't cut off.
Comments
Post a Comment