Use padding to fake it since vertical-align doesn’t work on text inputs.
CSS
.date-input {
width: 145px;
padding-top: 80px;
}
More Related Contents:
- How can i change the icon color to some other color in CSS?
- Unable to scroll on website
- How to Create Border In Css Iike
- CSS margin terror; Margin adds space outside parent element [duplicate]
- Table fixed header and scrollable body
- How to vertically align text inside a flexbox?
- Make CSS Hover state remain after “unhovering”
- display: inline-block extra margin [duplicate]
- How create table only using tag and Css
- CSS Single-column layout centered fixed-width 100% height w header and footer
- How can I correctly select the first or the last child with CSS?
- How can I have two fixed width columns with one flexible column in the center?
- One tall div next to two shorter divs on Desktop and stacked on Mobile with Bootstrap 4
- How to style dt and dd so they are on the same line?
- How to display vertical text in table headers with auto height / without text overflow?
- Add target=”_blank” in CSS
- Center image element in parent div
- Why is the span’s line-height useless?
- CSS – How to have children in different parents the same height?
- HTML ordered list 1.1, 1.2 (Nested counters and scope) not working
- Can you use CSS to mirror/flip text?
- Fallback background-image if default doesn’t exist
- CSS list-style-image size
- Make a parent div webkit-filter not affect children
- How can I force div contents to stay in one line with HTML and CSS?
- Square DIV where height is equal to viewport
- Styling autocomplete dropdowns in browsers
- Giving background-color to body applying whole page. Why?
- Why is my .sticky-top class not working in Bootstrap 4?
- Make plus symbol in CSS