You can do this for webkit:
#text2::-webkit-input-placeholder::before {
color:#666;
content:"Line 1\A Line 2\A Line 3\A";
}
More Related Contents:
- How do I make a placeholder for a ‘select’ box?
- text-align: right; only for placeholder?
- Can't remove text decoration
- How to make double border on left only with thick outside and thin inside [duplicate]
- Why my HTML input field is ‘readonly’ by default [closed]
- Bootstrap height
- Centering in CSS Grid
- What are the implications of using “!important” in CSS? [duplicate]
- How to style the parent element when hovering a child element?
- How to make this arrow in CSS only?
- Bootstrap 3 two columns full height
- Why does IE9 switch to compatibility mode on my website?
- Why is vertical-align: middle not working on my span or div?
- Maintain image aspect ratio when changing height
- How to change the length/position of text-decoration:underline?
- IE6 + IE7 CSS problem with overflow: hidden; – position: relative; combo
- White space showing up on right side of page when background image should extend full length of page [closed]
- Make a nav bar stick
- How to prevent Chrome from changing font when autofilling username/password?
- Pressing spacebar scrolls page down?
- Why is box-sizing acting different on table vs div?
- Is this empty space actually margin-right which is not recognized by dev tools?
- How do I give a CSS class priority over an id?
- Padding the top and the bottom of inline element
- how to remove the dotted line around the clicked a element in html
- CSS/HTML: What is the correct way to make text italic?
- svg background image position is always centered in internet explorer, despite background-position: left center;
- Make Div Draggable using CSS
- Create tree view with horizontal and vertical lines showing the connectivity using css
- How can I get a specific number child using CSS?