make text bigger on hover css code example
Example 1: make text unselectable css
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
Example 2: css text larger on hover
#sname {
margin-top: 100px;
margin-bottom: 100px;
color: rgba(1,1,1,0.7);
}
#sname a {
font-weight: bold;
font-size: 4em;
transition: all 500ms;
}
#sname a:hover {
font-size:88px;
font-size-adjust: 20px;
}
*/
<div id="sname">
<a href="#">test</a>
</div>
*/
Example 3: css make background visible in text
.transparency{
background-color: rgba(255, 255, 0, 0.3);
display: block;
margin: 0 auto;
width: 300px;
height: 500px;
}
.content{
color: #000;
text-align: center;
}
img{
min-height: 100%;
min-width: 1920px;
width: 100%;
height: auto;
position: fixed;
top: 0;
left: 0;
z-index:-1;
}