我想在手機(jī)與電腦上實(shí)現(xiàn)這個(gè)效果
請(qǐng)問這該怎麼做...
右邊還有app
只是被暫時(shí)遮住
滑鼠移過去可以左右滑動(dòng)
手機(jī)可以直接觸碰屏幕左右滑動(dòng)
在網(wǎng)頁上
人生最曼妙的風(fēng)景,竟是內(nèi)心的淡定與從容!
There is a p outside, fixed size, position: relative; overflow: hidden; the content inside is position: absolute;, and the event control left: moves left and right.
It is similar to the carousel, except that the carousel switches one screen at a time. You need to control how much you slide and how much the content moves