Material Buttons.css
How do I make an material buttons.css?
My first attempt at SCSS.. What is a material buttons.css? How do you make a material buttons.css? This script and codes were developed by Ariana Lynn on 05 September 2022, Monday.
Material Buttons.css - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Material Buttons.css</title> <style>
body {padding:10px;background:rgb(245,245,245)}
h2 {font-family:'Open Sans',sans-serif;color:grey;font-size:29px}
i {color:green}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<center> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h2>Material Buttons</h2>
<button class="button button_3d" data-button="red">BUTTON</button>
<button class="button button_3d" data-button="green">BUTTON</button>
<button class="button button_3d" data-button="blue">BUTTON</button>
<button class="button button_3d" data-button="purple">BUTTON</button>
<button class="button button_3d button_arrow">BUTTON</button>
<br/>
<button class="button button_em" data-button="red">BUTTON</button>
<button class="button button_em" data-button="green">BUTTON</button>
<button class="button button_em button_arrow" data-button="blue">BUTTON</button>
<button class="button button_em" data-button="purple">BUTTON</button>
<button class="button button_em">BUTTON</button>
<br/>
<button class="button button_border" data-button="red">BUTTON</button>
<button class="button button_border button_arrow" data-button="green">BUTTON</button>
<button class="button button_border" data-button="blue">BUTTON</button>
<button class="button button_border" data-button="purple">BUTTON</button>
<button class="button button_border">BUTTON</button>
<br/>
<button class="button button_shadow" data-button="red">BUTTON</button>
<button class="button button_shadow" data-button="green">BUTTON</button>
<button class="button button_shadow" data-button="blue">BUTTON</button>
<button class="button button_shadow button_arrow" data-button="purple">BUTTON</button>
<button class="button button_shadow">BUTTON</button>
<br/>
<button class="button button_normal button_group button_arrow" data-button="red">BUTTON</button>
<button class="button button_normal button_group" data-button="green">BUTTON</button>
<button class="button button_normal button_group button_disabled" data-button="blue">BUTTON</button>
<button class="button button_normal button_group" data-button="purple">BUTTON</button>
<button class="button button_normal button_group">BUTTON</button>
<br/><br/><br/><br/>
<h2>Code Example</h2>
</center>
<code> <link rel="stylesheet" href="https://codepen.io/arianalynn/pen/xZMWXY.css"/> <i><!-- Link the css file --></i> <br/><br/> <button class="button button_3d" data-button="red">BUTTON</button> <i><!-- Load the desired button style (.button_3d, .button_em, .button_border, .button_shadow) and button color (red, green, blue, purple or none). Special styles include .button_arrow, .button_disabled and .button_group --></i>
</code>
</body>
</html>
Material Buttons.css - Script Codes CSS Codes
@charset "UTF-8";
@import "https://fonts.googleapis.com/css?family=Open+Sans";
.button { margin: 8px; font-family: 'Open Sans', sans-serif; cursor: pointer; transition: all 0.3s;
}
.button:focus { outline: 0;
}
.button_3d { padding: .9em 1.3em .9em; border: 0; box-shadow: inset 0 -7px 0 rgba(0, 0, 0, 0.15); font-size: 1.2em; border-radius: 6px; color: #e6e6e6; background: #b4b4b4; transition: all 0.1s;
}
.button_3d:hover { box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.15);
}
.button_em { padding: .8em 1.3em .8em; border: 0; font-size: 1.2em; border-radius: 5px; color: #e6e6e6; background: #b4b4b4; box-shadow: inset 0 0 0 4.5px rgba(255, 255, 255, 0.65);
}
.button_em:hover { box-shadow: inset 0 0 0 4.5px rgba(255, 255, 255, 0.25);
}
.button_border { padding: .85em 1.3em .65em; font-size: 1.2em; background: none; border-width: 2.7px; border-style: solid; border-color: #a0a0a0; border-radius: 4px; color: #787878;
}
.button_shadow { padding: .85em 1.3em .65em; font-size: 1.2em; background: #fafafa; border: 0; box-shadow: 0 0 20px silver; color: #787878;
}
.button_normal { padding: .85em 1.3em .65em; font-size: 1.2em; background: silver; border: 0; color: white;
}
.button_normal:hover { background: #a7a7a7;
}
.button_normal[data-button=red]:hover { background: #eb2521;
}
.button_normal[data-button=blue]:hover { background: #20638f;
}
.button_normal[data-button=green]:hover { background: #25a25a;
}
.button_normal[data-button=purple]:hover { background: #9e3851;
}
.button_3d[data-button=red],
.button_em[data-button=red],
.button_normal[data-button=red] { background: #EF5350;
}
.button_3d[data-button=green],
.button_em[data-button=green],
.button_normal[data-button=green] { background: #2ecc71;
}
.button_3d[data-button=blue],
.button_em[data-button=blue],
.button_normal[data-button=blue] { background: #2980b9;
}
.button_3d[data-button=purple],
.button_em[data-button=purple],
.button_normal[data-button=purple] { background: #BF4A67;
}
.button_3d[data-button=orange],
.button_em[data-button=orange],
.button_normal[data-button=orange] { background: #EA5B0C;
}
.button_shadow:hover,
.button_border:hover { color: #fff !important; background: #a0a0a0;
}
.button_shadow[data-button=red],
.button_border[data-button=red] { border-color: #EF5350; color: #EF5350;
}
.button_shadow[data-button=blue],
.button_border[data-button=blue] { border-color: #2980b9; color: #2980b9;
}
.button_shadow[data-button=green],
.button_border[data-button=green] { border-color: #2ecc71; color: #2ecc71;
}
.button_shadow[data-button=purple],
.button_border[data-button=purple] { border-color: #BF4A67; color: #BF4A67;
}
.button_shadow[data-button=orange],
.button_border[data-button=orange] { border-color: #EA5B0C; color: #EA5B0C;
}
.button_shadow[data-button=red]:hover,
.button_border[data-button=red]:hover { background: #EF5350;
}
.button_shadow[data-button=blue]:hover,
.button_border[data-button=blue]:hover { background: #2980b9;
}
.button_shadow[data-button=green]:hover,
.button_border[data-button=green]:hover { background: #2ecc71;
}
.button_shadow[data-button=purple]:hover,
.button_border[data-button=purple]:hover { background: #BF4A67;
}
.button_shadow[data-button=orange]:hover,
.button_border[data-button=orange]:hover { background: #EA5B0C;
}
.button_arrow:hover:after { content: " 》"; position: absolute; margin-left: 4px; opacity: 0.6;
}
.button_arrow:hover { padding-left: 1em; padding-right: 1.6em;
}
.button_disabled { opacity: 0.5; cursor: not-allowed;
}
.button_group { margin: 16px -2px 0;
}
Developer | Ariana Lynn |
Username | arianalynn |
Uploaded | September 05, 2022 |
Rating | 4 |
Size | 3,707 Kb |
Views | 22,264 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Reveal Effect | 2,943 Kb |
Unit.js | 4,899 Kb |
404 Error Message | 3,143 Kb |
Chat Widget | 2,798 Kb |
Dots and Shapes | 5,559 Kb |
Fireworks Show | 3,048 Kb |
Live Voting | 3,397 Kb |
Gooey Share Buttons | 2,268 Kb |
Loading Loop | 2,798 Kb |
Bubbles in the Sky | 2,313 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Another brick in the wall | Fivera | 1,955 Kb |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Nice textured background | Hans | 2,659 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Popover Example | Seanboom | 2,429 Kb |
Slide out Menu | Rbiggs | 4,936 Kb |
Background Images | Jooonebug | 2,100 Kb |
A Pen by Adrien Clerbois | AClerbois | 6,501 Kb |
Expandable Left Side Bar with jQuery animate | Retrofuturistic | 2,483 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!