Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Placeholder font-family

.mainLoginInput::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: 'myFont', Arial, Helvetica, sans-serif;
  opacity: 1; /* Firefox */
}

.mainLoginInput:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-family: 'myFont', Arial, Helvetica, sans-serif;
}

.mainLoginInput::-ms-input-placeholder { /* Microsoft Edge */
  font-family: 'myFont', Arial, Helvetica, sans-serif;
}

/*Other variants that might work*/
.mainLoginInput::-webkit-input-placeholder {
  font-family: 'myFont', Arial, Helvetica, sans-serif;
}

.mainLoginInput:-ms-input-placeholder {
  font-family: 'myFont', Arial, Helvetica, sans-serif;
}

.mainLoginInput:-moz-placeholder {
  font-family: 'myFont', Arial, Helvetica, sans-serif;
}

.mainLoginInput::-moz-placeholder {
  font-family: 'myFont', Arial, Helvetica, sans-serif;
}

Comment

PREVIOUS NEXT
Code Example
Css :: css use value of attribute 
Css :: how to write css like a pro 
Css :: image right css 
Css :: inter 
Css :: remove list dots on li 
Css :: underline css still there after text-decoration: none 
Css :: bootstrap list 
Css :: style image so it crops 
Css :: add css file to html 
Css :: stretch text to div width css 
Css :: css opacity example 
Css :: css padding 
Css :: tint image with background color css 
Css :: vertical line between two divs 
Css :: html align svg to text 
Css :: scroll bar on border radius element css 
Css :: centre align in position absolute 
Css :: css module multiple classes 
Css :: css max-width none 
Css :: remove on click border 
Css :: how to set div background image 
Css :: text orientation css 
Css :: horizontal scroll 
Css :: laravel reference css in public 
Css :: limit number of text lines 
Css :: rem vs em 
Css :: css align-items center 
Css :: How to specify that the background image should be shown once, in the top right corner. 
Css :: input type file without button 
Css :: css highlight element 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =