Søg efter komponent, industri eller applikation

@bg-color: #00263a; @txt-color: #FFFFFF; @icn-color: #FFFFFF; /*** DEMO ***/ html,body{height:100%;margin:0;}body{background:@bg-color;font:25px nimbus-sans-condensed;color:@txt-color}p{margin-top:30px}.cntr{display:table;width:100%;height:100%;.cntr-innr{display:table-cell;text-align:center;vertical-align:middle}} /*** STYLES ***/ .search { display: inline-block; position: relative; height: 35px; width: 35px; box-sizing: border-box; margin: 0px 8px 7px 0px; padding: 7px 9px 0px 9px; border: 3px solid @icn-color; border-radius: 25px; transition: all 200ms ease; cursor: text; &:after { content: ""; position: absolute; width: 3px; height: 20px; right: -5px; top: 21px; background: @icn-color; border-radius: 3px; transform: rotate(-45deg); transition: all 200ms ease; } &.active, &:hover { width: 450px; margin-right: 0px; &:after { height: 0px; } } input { width: 100%; border: none; box-sizing: border-box; font-family: Helvetica; font-size: 15px; color: inherit; background: transparent; outline-width: 0px; } } $("#inpt_search").on('focus', function () { $(this).parent('label').addClass('active'); }); $("#inpt_search").on('blur', function () { if($(this).val().length == 0) $(this).parent('label').removeClass('active'); });
Kundeservice

Har du har brug for hjælp? Kontakt os:

phone 70 10 64 00

Send e-mail Send e-mail

comments Chat