Skip to content

Instantly share code, notes, and snippets.

@oldergod
Last active June 30, 2016 05:00
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 oldergod/c2a063f4a57a474e9e94ecc16ce73d91 to your computer and use it in GitHub Desktop.
Save oldergod/c2a063f4a57a474e9e94ecc16ce73d91 to your computer and use it in GitHub Desktop.
CSS Coding Tips: Maintainability versus brevity
/**
* CSS Coding Tips: Maintainability versus brevity
*/
div {
position: absolute;
top: calc(50% - 25px);
left: calc(50% - 25px);
height: 50px;
width: 50px;
border-color: red;
border-style: solid;
/* interesting part */
border-width: 20px;
border-left-width: 0;
}
// alert('Hello world!');
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment