@george.marcus/react-inline-suggest
Version:
A simple inline autosuggest input
40 lines (39 loc) • 898 B
CSS
.inline-suggest {
position: relative;
color: #333; }
.inline-suggest input {
display: block;
background-color: transparent;
position: relative;
padding: .2em .3em;
background: #fff;
z-index: 1;
box-sizing: border-box;
width: 100%;
letter-spacing: 0;
font-weight: normal;
font-family: sans-serif;
font-style: normal;
font-size: 1rem;
border-width: 1px;
border-style: solid;
border-color: #ccc;
line-height: 1.5em; }
.inline-suggest div {
position: absolute;
top: 1px;
left: 1px;
right: 0;
bottom: 0;
padding: .2em;
padding: .2em .3em;
opacity: .4;
margin: 0;
letter-spacing: 0;
font-weight: normal;
font-family: sans-serif;
font-style: normal;
font-size: 1rem;
box-sizing: border-box;
line-height: 1.5em; }
/*# sourceMappingURL=react-inline-suggest.css.map*/