Skip to content

Instantly share code, notes, and snippets.

@SBaof SBaof/dabblet.css
Last active Sep 14, 2017

What would you like to do?
Translucent borders
* Translucent borders
body {
background: url('');
div {
border: 10px solid hsla(0,0%,100%,.5);
background: url('') no-repeat;
background-size: cover;
background-clip: padding-box;
/* styling */
max-width: 20em;
padding: 2em;
margin: 2em auto 0;
font: 100%/1.5 sans-serif;
Can I haz semi-transparent borders?
Pretty please?
// alert('Hello world!');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.