A link Button Styling With Effects
Page 1 of 1
A link Button Styling With Effects
- Code:
<style>
.my-div a:link, a:visited {
max-width: 600px;
font-size: small;
background-color: DodgerBlue;
color: white;
padding: 7px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
width: 200px; /* set a width to make the button longer */
text-align: center;
align-items: center;
display: flex;
justify-content: center;
-webkit-transition:opacity 0.5s linear 0s;
transition:opacity 0.5s linear 0s;
}
.my-div a:hover, a:active {
background-color: green;
width: 200px; /* set a width to make the button longer */
opacity:1;
transition: box-shadow 1200ms ease-in;
-webkit-transition: box-shadow 1200ms ease-in;
-webkit-box-shadow: 0px 0px 15px 10px rgba(255, 255, 255, .75);
box-shadow: 0px 0px 15px 10px rgba(255, 255, 255, .75);
}
body {
background-color: #1a1a1a;
font-family: Arial, sans-serif;
}
</style>
<div class="my-div">
<p><a href="view_messages.php">View Encrypted Message</a></p>
</div>
Similar topics
» Create a symbolic link to another symbolic link on linux
» css tricks Target browsers for better styling relating to specific browsers!
» Custom Filters and effects
» CSS FADE EFFECTS TO FADEIN AN ELEMENT
» KDE install for linux desktop plus effects
» css tricks Target browsers for better styling relating to specific browsers!
» Custom Filters and effects
» CSS FADE EFFECTS TO FADEIN AN ELEMENT
» KDE install for linux desktop plus effects
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum