Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<div class="parent">
    <a href="#" class="child">blabla</a>
</div>
</body>
</html>
 
.parent {
    position: fixed;
    margin: auto;
    left: 0;
    top:0;
    width: 200px;
    height: 200px;
    line-height: 200px;
    text-align: center;
 }
.child {
    display: inline-block;
    position: relative;
    padding: 10px 25px;
    background-color: #4CC713;
    color: white;
    font-family: sans-serif;
    text-decoration: none;
    font-size: 0.9em;
    text-align: center;
    text-indent: 15px;
    line-height: 100%;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
freepadpro
0viewers