Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*!
- * gist.github.com/englishextra/9348598
- * pastebin.com/i4w9B7zX
- */
- .custom-dropdown {
- display: inline-block;
- width: 280px;
- position: relative;
- vertical-align: middle;
- margin: 0;
- }
- .custom-dropdown select {
- font-size: 1em;
- text-indent: 0.01px;
- text-overflow: '';
- color: #FFF;
- background-color: rgba(80, 111, 124, 1);
- border: 0;
- padding: .5em;
- margin: 0;
- -webkit-appearance: button;
- }
- .custom-dropdown::before,
- .custom-dropdown::after {
- content: "";
- position: absolute;
- pointer-events: none;
- }
- .custom-dropdown::after {
- height: 1em;
- font-size: .625em;
- line-height: 1;
- right: 1.2em;
- top: 50%;
- content: "\25BC";
- margin-top: -.5em;
- }
- .custom-dropdown::before {
- width: 2em;
- right: 0;
- top: 0;
- bottom: 0;
- }
- .custom-dropdown select[disabled],
- .custom-dropdown select[disabled]::after {
- color: #FFF;
- opacity: .375;
- }
- .custom-dropdown::before {
- background-color: rgba(0,0,0,.0375);
- }
- .custom-dropdown::after {
- color: #FFF;
- }
- @media (min-width: 1px) and (max-width: 320px) {
- .custom-dropdown {
- width: 100%;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement