Created
July 19, 2019 15:56
-
-
Save singhArmani/651e02d1332a58e997d287ba0307d5ca to your computer and use it in GitHub Desktop.
Untitled
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
/*Hard to read if used opacity*/ | |
div { | |
box-shadow: 0 0 0 5px gold; | |
background: #f06; | |
font-size: 24px; | |
position: relative; | |
width:600px; | |
} | |
.opac { | |
color: white; | |
background-color: rgba(0,0,0,0.5); | |
font-size: 3rem; | |
position: absolute; | |
top: 10px; | |
left: 150px; | |
width: 300px; | |
} |
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
<div> | |
cpromise.then((v) => { console.log('v is: ', v); | |
reject(Error('error'))} ).catch(e => console.log(e))promise.then((v) => { console.log('v is: ', v); reject(Error('error'))} ).catch(e => console.log(e))promise.then((v) => { console.log('v is: ', v); reject(Error('error'))} ).catch(e => console.log(e)) | |
<p class="opac"> this is a paragraph</p> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment