Created
March 28, 2019 15:10
-
-
Save ArunHub/4d1332801d5059bee9027feab2c8f0d3 to your computer and use it in GitHub Desktop.
Basic css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input:-webkit-autofill, | |
input:-webkit-autofill:hover, | |
input:-webkit-autofill:focus, | |
input:-webkit-autofill:active { | |
background-color: white; | |
transition: background-color 5000s ease-in-out 0s; | |
-webkit-text-fill-color: #333 !important; | |
-webkit-box-shadow: 0 0 0px 1000px white inset; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="screw"></span> | |
.screw { | |
position: absolute; | |
left: 50%; | |
width: 20px; | |
height: 20px; | |
background: #333 none repeat scroll 0% 0%; | |
border-radius: 50%; | |
border: 1px solid #ccc; | |
text-align: center; | |
top: 0; | |
} | |
.screw::before { | |
position: relative; | |
content: ""; | |
width: 63%; | |
height: 1px; | |
background: #f00; | |
top: 50%; | |
display: block; | |
margin: auto; | |
left: 0%; | |
} | |
http://jsfiddle.net/3MVPM/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment