These buttons usually have the following characteristics:
- vibrant color: Use bright colors such as neon blue, green and purple.
- 3D and shadow effects: Add depth by shading or gradients.
- Hover animation: A change in size, color or shadow occurs on mouse hover.
- high contrast: Clear borders and a contrasting color scheme that is easy to read.
If you want to integrate these styles in Elementor, you can follow these steps:
![Image[1]-Fortnite Button CSS-Photonflux.com | Professional WordPress Repair Service, Global Reach, Fast Response](http://gqxi.cn/wp-content/uploads/2024/11/20241114113057425-7181731554825_.pic_hd.png)
Adding HTML and CSS to Elementor
- Add HTML code::
- On the page, add the "HTML" widget.
- Paste the provided HTML code into the HTML widget, which will create your Fortnite button.
![Image [2] - Fortnite Button CSS - Photon Flux Network | Professional WordPress repair service, global reach, fast response](http://gqxi.cn/wp-content/uploads/2024/11/20241114114121518-image.png)
![Image [3] - Fortnite Button CSS - Photon Flux Network | Professional WordPress repair service, global reach, fast response](http://gqxi.cn/wp-content/uploads/2024/11/20241114134637988-image.png)
<div class="row">
<button class="tab">PLAY<span></span></button>
<button>LOCKER<span></span></button>
<button>BATTLE PASS<span></span></button>
<button>SHOP<span></span></button>
<button>QUESTS<span></span></button>
<button>V-BUCKS<span></span></button>
</div>
<div class="play-cont">
<h1>LEGO FORTNITE</h1>
<button class="mode play">SELECT WORLD<span></span></button>
<button class="play">PLAY<span></span></button>
</div>
- Adding CSS Styles::
- If you are using the Elementor ProYou can add the CSS code in the Advanced tab of the page. Steps:
- Select a widget or container on the page.
- strike (on the keyboard) Advanced > Custom CSSThe
- Paste the CSS code here and it will be immediately applied to the button styles on the page.
- If you are using the Elementor ProYou can add the CSS code in the Advanced tab of the page. Steps:
![Image [4] - Fortnite Button CSS - Photon Flux Network | Professional WordPress repair service, global reach, fast response](http://gqxi.cn/wp-content/uploads/2024/11/20241114134659134-image.png)
@import url('https://fonts.googleapis.com/css?family=OpenSans:800');
:root {
--font: 2rem;
}
body {
display: flex; flex-direction: column; } body {
flex-direction: column; justify-content: space-between;
justify-content: space-between; gap: 2rem;
justify-content: space-between; gap: 2rem; align-items: flex-start; height: 100vh; align-items: flex-start
height: 100vh;
box-sizing: border-box; padding: 5rem;
padding: 5rem;
background: url('https://www.lego.com/cdn/cs/aboutus/assets/blta2f7045752055c85/JunoEpicNewsroom_Inline_1920x1080_png.png') no- repeat center center fixed; background-color: rgba(0,0,0,0,0,0,0,0)
background-color: rgba(0,0,0,0,0.3); background-blend-mode: color; background-blend-mode: color
background-blend-mode: color; font-family: 'Open Scholarship'; background-blend-mode: color
font-family: 'Open Sans'; margin: 0; background-blend-mode: color; background-color: rgba(0,0,0,0.3)
margin: 0; }
}
.row {
display: flex; flex-direction: row; }
flex-direction: row; justify-content: flex-start; }
justify-content: flex-start; align-items: center; }
align-items: center; gap: 1rem;
gap: 1rem; flex-wrap: wrap;
flex-wrap: wrap;
}
button {
display: flex; flex-direction: row; } button {
flex-direction: row; align-items: center; } button { display: flex; flex-wrap: wrap; }
align-items: center; justify-content: center;
justify-content: center; border: none;
font-family: 'Open Sans';
font-size: var(--font); border-radius: calc(var(--font) *)
border-radius: calc(var(--font) * 0.6); padding: calc(var(--font) * 0.6);
padding: calc(var(--font) * 0.5);
padding: calc(var(--font) * 0.5); margin: 0;
line-height: 1; position: relative;
position: relative;
background-color: transparent; color: white;
color: white;
box-shadow: inset 0 0 0 0 0 rgb(248, 249, 255, 0.5), inset 0 0 0 0 0 rgb(248, 249, 255, 0.3), 0 0 0 0 rgb(248, 249, 255, 0.2); transition: all ease 0.2s; color: white
transition: all ease 0.2s; }
}
button:hover {
box-shadow: inset 0 0 0 0 calc(var(--font) * 0.2) rgb(248, 249, 255, 0.5), inset 0 0 0 calc(var(--font) * 0.2) calc(var(--font) * 0.5) rgb(248, 249, 255, 0.3) , 0 0 0 calc(var(--font) * 0.2) rgb(248, 249, 255, 0.2); }
}
button::before {
content: ''; height: 110%; }
height: 110%;
width: 105%.
position: absolute; border-radius: calc(var(--font) * 0.8); }
border-radius: calc(var(--font) * 0.8);
background-color: transparent;
}
@keyframes borders {
0%, 100% {border-width: calc(var(--font) * 0.2) calc(var(--font) * 0.1) calc(var(--font) * 0.02) calc(var(--font) * 0.02); }
25% { border-width: calc(var(--font) * 0.1) calc(var(--font) * 0.02) calc(var(--font) * 0.02) calc(var(--font) * 0.2);}
50% { border-width: calc(var(--font) * 0.02) calc(var(--font) * 0.02) calc(var(--font) * 0.2) calc(var(--font) * 0.1);}
75% { border-width: calc(var(--font) * 0.02) calc(var(--font) * 0.2) calc(var(--font) * 0.1) calc(var(--font) * 0.02);}
}
button:hover::before {
border: solid rgb(210, 255, 227, 0.8); padding: calc(var(--font) * 0.1) calc(var(--font) * 0.02); }
padding: calc(var(--font) * 0.08); box-shadow: inset 0 0 calc(var(--font) * 0.2); }
box-shadow: inset 0 0 calc(var(--font) * 0.2) calc(var(--font) * 0.2) rgb(186, 201, 255, 0.3);
filter: blur(calc(var(--font) * 0.06));
animation: borders infinite 2s linear; opacity: 0.5;; borders infinite 2s linear; borders infinite 2s linear
opacity: 0.5; }
}
span {
height: 100%; width: 100%; } span {
width: 100%; } span { height: 100%; width: 100%; }
position: absolute; overflow: hidden; }
overflow: hidden; display: flex;
display: flex; border-radius: calc(var(--font * 0.6); }
border-radius: calc(var(--font) * 0.6);
z-index: -1; }
}
span::after {
content: ''; height: 100%; }
height: 100%;
width: 100%.
position: absolute;
background: linear-gradient(90deg, rgb(248, 249, 255, 0), rgb(206, 216, 255, 0.6), rgb(248, 249, 255, 0));
opacity: 0; transform: translateX(-1001); rgb(-1001)
transform: translateX(-100%);
}
button:hover > span::after {
opacity: 1; transform: translateX(100%); }
transform: translateX(100%); transition: all ease 1s;
transition: all ease 1s; }
}
.tab {
background-color: white; color: black; }
color: black; }
}
/* extra unique buttons */
.play-cont {
display: flex; flex-direction: column; .play-cont {
play-cont { display: flex; flex-direction: column; justify-content: center;
justify-content: center; align-items: center; justify-content: center
height: fit-content; border-radius: 1rem; border-radius: 1rem; border-radius: 1rem
border-radius: 1rem; padding: 1rem;
padding: 1rem; background-color: rgba(0,0,0,0,0,0,0,0)
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
}
.play {
--font: 3rem; color: black; }
color: black;
border-radius: 4rem;
play { --font: 3rem; color: black; border-radius: 4rem; height: 12rem;
box-shadow: inset 0 0 0 0 0 rgb(248, 249, 255,,)
box-shadow: inset 0 0 0 0 0 rgb(248, 249, 255, 0.5); border: 1rem solid transparent;
border: 1rem solid transparent;
position: relative;
}
.play:hover::before {
opacity: 0.2; border-radius: 4rem; }
border-radius: 4rem;
}
.play > span {
background-color: rgb(247, 255, 25); height: 8rem; } .play > span {
background-color: rgb(247, 255, 25); height: 8rem; width: 21rem; }
width: 21rem;
border-radius: 2rem;
}
.play > span::after {
display: none; }
}
.play:hover {
box-shadow: inset 0 0 0 0 calc(var(--font) * 0.15) rgb(248, 249, 255, 0.6); }
}
.mode > span {
background-color: rgb(200, 204, 205); } .mode > span { background-color: rgb(200, 204, 205); }
height: 6rem; }
}
.mode {
font-size: 1.5rem; width: 25rem; } .mode {
width: 25rem; height: 10rem; } .mode { font-size: 1.5rem; }
height: 10rem; top: 2rem;
top: 2rem; }
}
h1 {
color: white; margin: 0; }
margin: 0; position: relative; }
position: relative; top: 1rem;
top: 1rem;
font-style: italic;
}
@media screen and (max-width: 800px) {
:root {
--font: 1.2rem; }
}
body {
padding: 1rem; }
}
.play {
--font: 2rem; }
width: 20rem; }
}
.mode {
width: 20rem; }
}
.play > span {
width:16rem; }
}
}
? Reprint statement
Author: feng1
Link to this article:http://gqxi.cn/en/26744The article is copyrighted and must be reproduced with attribution.
THE END
No comments