A user sandbox is a subpage of the user's userpage that serves as a testing and development playground.
Please don't edit this sandbox without prior asking me. Note that the content of this page will be overwritten very often. If you want to bookmark or link to this page in the state you're currently seeing it, copy the URL from "Permanent link" found in the side rail's Page Tools. You can also find all older revisions in my sandbox log.
Button
Example
- test it with PortableCSSPad
Code
<div class="myBtnCnt">[[Special:CreatePage|<span class="myBtn">Create a page</span>]]</div>
CSS
.myBtnCnt {
width: 200px;
margin:0 auto;
}
.myBtnCnt a {
text-decoration:none;
}
.myBtn {
display:block;
width: 200px;
padding: 0.3em;
border-radius: 8px;
background:gold;
color:black;
text-align: center;
font-weight:bold;
transition: 0.3s;
}
.myBtn:hover {
opacity: 0.7;
}