How do you choose to get dropdown?



  • Like classic. select Make an open list dropdownAnd not a fallout, like in the first place? I mean, to move the content down, not to lock it down. https://jsfiddle.net/rb5p550t/

    select {
      border: none;
      background: transparent;
      text-decoration: underline;
    }
    <select>
      <option value="volvo">Volvo</option>
      <option value="saab">Saab</option>
      <option value="mercedes">Mercedes</option>
      <option value="audi">Audi</option>
    </select>



  • I don't think I can make a classic disclosure list. The required function is not supported.

    As an option, place the contents of the list in a separate tag (e.g. uland with the help of JavaScript, control its visibility (implementation) style.display) Examples can be seen http://www.cyberforum.ru/html/thread85965.html ♪

    You can also use a library ( http://jemand.ru/raskryvayushhijsya-spisok-na-jquery/ )




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2