Hand-picked collection of 50+ HTML and CSS select box code examples carefully collected from GitHub, Codepen, and various other platforms for web designers and developers.

1. Pure CSS Select Box


Author: Danny Dorstijn
Source:  Code / Demo
Created on: JANUARY 14, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

2. Custom Select Box


Author: Eddy Sims
Source: Code / Demo
Created on: NOVEMBER 13, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

3. Pure CSS Select Box Styling


Author: Anselm Urban
Source:  Code / Demo
Created on: JULY 6, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

4. Flat selectbox


Author:Peter Geller
Links:  Code / Demo
Created on: JULY 26, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

5. Style a Select Box Using Only CSS


Author: Eric Rasch
Source:  Code / Demo
Created on: JUNE 21, 2012
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less)

6. CSS only Select


Author: Nicolas Udy
Source:  Code / Demo
Created on: MAY 9, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(PostCSS)

7. Simple custom select


Author: Alessandro Falchi
Source:  Code / Demo
Created on: MAY 9, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(SCSS), JavaScript

8. Pure CSS Select Box With Direction Aware Hover Effect


Author: Himalaya Singh
Source:  Code / Demo
Created on: OCTOBER 21, 2018
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

9. Dropdown Menu


Author: Mostafa
Source:  Code / Demo
Created on: SEPTEMBER 3, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

10. Custom Select


Author: Yusuf
Links:  Code / Demo
Created on: APRIL 24, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

11. Custom <select>


Author: Christophe CORBALAN
Source:  Code / Demo
Created on: SEPTEMBER 18, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

12. Pure CSS Select Box With Direction Aware Hover Effect


Author: Mina Nabil
Source:  Code / Demo
Created on: FEBRUARY 24, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

13. Custom select box


Author: James Barnett
Source:  Code / Demo
Created on: NOVEMBER 6, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

14. Material Design Select Dropdown


Author: Sam Murphey
Source:  Code / Demo
Created on: DECEMBER 17, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

15. Pure CSS Select Box With Direction Aware Hover Effect


Author: Himalaya Singh
Source:  Code / Demo
Created on: OCTOBER 21, 2018
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

16. Pure CSS Select – NO wrapper!


Author: Raúl Barrera
Source:  Code / Demo
Created on: AUGUST 7, 2021
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

17. MultiSelectBox [CSS] no JS


Author: Quick Brown Fox
Source:  Code / Demo
Created on: JANUARY 25, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(Less)

18. CSS3 Card Deck Drop Down


Author: Tibor Katelbach
Source:  Code / Demo
Created on: JULY 23, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

19. Responsive custom select box with custom scroll


Author: Dejan Babić
Source:  Code / Demo
Created on: DECEMBER 16, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

20. CSS only Select ( radio + checkbox ) No JS


Author: Aron
Source:  Code / Demo
Created on: AUGUST 24, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

21. Styling select box with CSS


Author: Alex
Source:  Code / Demo
Created on: OCTOBER 6, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

22. Select (placeholder disabled)


Author: Andreas Storm
Source:  Code / Demo
Created on: JULY 9, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(Stylus)

23. Custom select box by VJ


Author: Vijaya Kumar Vulchi
Source:  Code / Demo
Created on: JANUARY 5, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less), JavaScript

24. Material design select ( jQuery )


Author: LukyVJ
Source:  Code / Demo
Created on: SEPTEMBER 8, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

25. Select Box with Placeholder [CSS Only]


Author: James Nowland
Source:  Code / Demo
Created on: MAY 14, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

26. select box


Author: yoo jin seong
Source:  Code / Demo
Created on: APRIL 17, 2023
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

27. Select Box Styling


Author: Soberdash
Source:  Code / Demo
Created on: OCTOBER 30, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

28. Custom Select Field Styling with Only CSS


Author: Stephanie Eckles
Source:  Code / Demo
Created on: AUGUST 14, 2020
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

29. Pretty Select dropdown


Author: j0be
Source:  Code / Demo
Created on: JANUARY 15, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

30. Image Selection with faux-loading


Author: Lewis Robinson
Source:  Code / Demo
Created on: NOVEMBER 27, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

31. Select Menu


Author: Pierre Laurent
Source:  Code / Demo
Created on: JUNE 12, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

32. Pure CSS Select Box


Author: Veniamin
Source:  Code / Demo
Created on: AUGUST 11, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Pug), CSS(SCSS)

33. Custom Select an Option


Author: Dany Santos
Source:  Code / Demo
Created on: FEBRUARY 4, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

34. Select Option Interaction


Author: Bhakti Pasaribu
Source:  Code / Demo
Created on: AUGUST 29, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(SCSS), JavaScript

35. CSS Review: Select Box


Author: Steven Estrella
Source:  Code / Demo
Created on: APRIL 22, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavScript

36. Selectionator


Author: Benjamin
Source:  Code / Demo
Created on: MAY 23, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(Less)

37. Select-Boxes


Author: Nipun Paradkar
Source:  Code / Demo
Created on: JULY 23, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS, JavaScript

38. Simple Custom Select Box


Author: Sarah
Source:  Code / Demo
Created on: JULY 10, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

39. CSS styled and filterable select dropdown


Author: Mari Johannessen
Source:  Code / Demo
Created on: OCTOBER 11, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript(Babel)

40. uSwitch pure CSS select control v1.0

Author: Craig Morey
Source:  Code / Demo
Created on: JUNE 20, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

41. Styled “select” options using CSS3 and Flexbox


Author: Paul Grant
Source:  Code / Demo
Created on: DECEMBER 14, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

42. Country code select box


Author: hanserino
Source:  Code / Demo
Created on: MARCH 8, 2016
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

43. Responsive Custom Select Box Styling (CSS Only)


Author: Austin Walker
Source:  Code / Demo
Created on: JANUARY 16, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

44. Magic with details // CSS Only Dropdown


Author: Steffen
Source:  Code / Demo
Created on: JULY 16, 2019
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

45. Select Box CSS3


Author: design8383
Source:  Code / Demo
Created on: JANUARY 9, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

46. Custom Select Wrapper


Author: Matheus Sales
Source:  Code / Demo
Created on: NOVEMBER 16, 2017
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Slim), CSS(Sass)

47. Pure CSS Select


Author: Raúl Barrera
Source:  Code / Demo
Created on: DECEMBER 21, 2015
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS)

48. Custom Select Box Dropdown Styling


Author: FrankieDoodie
Source:  Code / Demo
Created on: OCTOBER 31, 2018
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS

49. Pure CSS styled select box


Author: Emma Patricios
Source:  Code / Demo
Created on: JULY 30, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML(Haml), CSS(Sass)

50. Custom select


Author: Nikolay Talanov
Source:  Code / Demo
Created on: SEPTEMBER 6, 2014
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS(SCSS), JavaScript

51.  Custom select box (CSS only)


Author: Gonçalo Morais
Source:  Code / Demo
Created on: SEPTEMBER 27, 2013
Compatible browsers: Chrome, Firefox, Opera, Edge, Brave
Made with: HTML, CSS