I
I
Ivan-P2015-11-01 00:28:45
css
Ivan-P, 2015-11-01 00:28:45

How to make a slider that turns into a simple list with content loading on mobile phones?

How to make a slider that turns into a simple list with content loading on mobile phones?
Javascript to disable classes that are responsible for communicating with the slider or is there a more correct way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Radkov, 2015-11-01
@Ivan-P

The correct way is to do the opposite: first, for small screens, make up a list, and for large screens, add classes with JavaScript and initialize the slider. This approach is called "Mobile First" habrahabr.ru/post/269419

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question