Template:Main Page navigation button/styles.css: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
Line 2: Line 2:
display: inline-block;
display: inline-block;
position: relative;
position: relative;
width: 200px;
width: 12em;
height: 50px;
height: 3em;
border: 2px solid #2FD9E3;
border: 2px solid #2FD9E3;
border-radius: 10px;
border-radius: 10px;
Line 24: Line 24:
.nav-button span {
.nav-button span {
position: absolute;
position: absolute;
left: 64px;
left: 56px;
top: 11px;
top: 0.6em;
}
}

Revision as of 07:07, 2 December 2021

.nav-button {
	display: inline-block;
	position: relative;
	width: 12em;
	height: 3em;
	border: 2px solid #2FD9E3;
	border-radius: 10px;
	box-sizing: border-box;
}

.nav-button a {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.nav-button img {
	position: absolute;
	padding: 11px 15px;
}

.nav-button span {
	position: absolute;
	left: 56px;
	top: 0.6em;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.