Skip to content

Instantly share code, notes, and snippets.

@singhArmani
Created July 19, 2019 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save singhArmani/651e02d1332a58e997d287ba0307d5ca to your computer and use it in GitHub Desktop.
Save singhArmani/651e02d1332a58e997d287ba0307d5ca to your computer and use it in GitHub Desktop.
Untitled
/*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;
}
<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>
// alert('Hello world!');
{"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