Skip to content

Instantly share code, notes, and snippets.

@filipgorczynski
Created November 28, 2014 07:36
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 filipgorczynski/42445692dcc796ed4e21 to your computer and use it in GitHub Desktop.
Save filipgorczynski/42445692dcc796ed4e21 to your computer and use it in GitHub Desktop.
Borders
<!doctype html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<title>Borders</title>
<style>
ul {display: inline-block; }
li {float: left; display: inline-block; margin-right: 3px; border-top: 4px solid #f00}
li>span {padding: 0 4px 4px; border-right: 1px solid #00f; border-left: 1px solid #00f}
</style>
</head>
<body>
<ul>
<li><span>Tab 1</span></li>
<li><span>Tab 2</span></li>
<li><span>Tab 3</span></li>
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment