Tag: CSS
Misc
Input Placeholder This css snippets can be used to style placeholders of entire website or any form element ::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: pink;}::-moz-placeholder { /* Firefox 19+ */ color: pink;}:-ms-input-placeholder { /*...
Misc
Autofill usually changes the background color but in some areas, we don’t want that default color, so this script is to change the default color. Just add the following pseudo-selector to your style sheet and the background color will change according to your...
Misc
Portrait and landscape media queries for mobiles and ipads in css? Here is Portrait and landscape media queries for mobiles and ipads in CSS. CSS Media Query for Portrait Orientation @media screen and (max-device-width: 767px) and (orientation: portrait) {...
Misc
CSS Slider / Carousel Here is a slider/carousel built with pure CSS with an auto slide function. The slider stops if we try to change the slide manually showing the button at the bottom to restart it. Personally, I really liked this CSS-only slider but the CSS script...
Misc
Here is the tutorial for creating side navigation using HTML, CSS, and JavaScript. Link – https://www.w3schools.com/howto/howto_js_sidenav.asp