Material Buttons.css

Developer
Size
3,707 Kb
Views
22,264

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 Previews

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> &lt;link rel="stylesheet" href="https://codepen.io/arianalynn/pen/xZMWXY.css"/&gt; <i>&lt;!-- Link the css file --&gt;</i> <br/><br/> &lt;button class="button button_3d" data-button="red">BUTTON&lt;/button&gt; <i>&lt;!-- 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 --&gt;</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;
}
Material Buttons.css - Script Codes
Material Buttons.css - Script Codes
Home Page Home
Developer Ariana Lynn
Username arianalynn
Uploaded September 05, 2022
Rating 4
Size 3,707 Kb
Views 22,264
Do you need developer help for Material Buttons.css?

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!

Ariana Lynn (arianalynn) Script Codes
Create amazing blog posts with AI!

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!