Created
June 27, 2017 23:33
-
-
Save afirdousi/0f75426ab0e1ab058f1b051cc41b29f1 to your computer and use it in GitHub Desktop.
This file contains 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
:host { | |
padding:10px; | |
border: 1px solid #d3d3d3; | |
} | |
:host(.input-focus){ | |
outline:none; | |
border:1px solid #4d90fe; | |
-webkit-box-shadow:0 0 5px #4d90fe; | |
box-shadow:0 0 5px #4d90fe; | |
} | |
div { | |
display:inline-block; | |
} | |
:host /deep/ input { | |
border:none; | |
outline:none; | |
height:100%; | |
box-sizing:border-box; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment