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;
height: 50px;
}
}


Line 7: Line 9:
display: inline-block;
display: inline-block;
position: relative;
position: relative;
width: 200px;
width: 100%;
height: 50px;
height: 100%;
padding: 10px 15px 10px 60px;
padding: 10px 15px 10px 60px;
border: 2px solid #2FD9E3;
border: 2px solid #2FD9E3;

Revision as of 06:51, 2 December 2021

.nav-button {
	display: inline-block;
	position: relative;
	width: 200px;
	height: 50px;
}

.nav-button a {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 10px 15px 10px 60px;
	border: 2px solid #2FD9E3;
	border-radius: 10px;
	box-sizing: border-box;
}

.nav-button img {
	position: absolute;
	top: 8px;
	left: 16px;
}

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