If this is your first visit, be sure to check the FAQ section first by clicking the link.
You may need to register before you can post: click the register link first to continue
To start viewing posts, select the forum you want to visit from the selection below.
There is a new trend in web design these days and that is to have a glowing button effect for call to action (CTA) buttons in an other-wise clean and flat design. In this post, I will create a simple button and apply glow effect with CSS on it when user hovers over it. We can also use the CSS presented below to add a permanent glow effect to CSS buttons.
Add the following code in the theme css_additional.css template you are using.
HTML Code:
/* all button hover glow s */
.b-button:hover {
background: #03e9f4;
color: #fff;
border-radius: 5px;
box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4, 0 0 100px #03e9f4;
}
/* all button hover glow e */
Made this notes to remember what does what,.. i always forget, and i will like to change colors for my others templates in the future.
I tested it quick, but tell me if i am mistaken
Code:
/* all button hover glow s */
.b-button:hover {
background: #03e9f4; /*button color*/
color: #fff; /*button text color*/
border-radius: 5px; /*border size*/
box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4, 0 0 100px #03e9f4; /*glow color*/
}
/* all button hover glow e */
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment