Playing Around with AMCSS

Developer
Size
2,454 Kb
Views
10,120

How do I make an playing around with amcss?

Http://glenmaddern.com/articles/introducing-am-css https://twitter.com/micahgodbolt/status/509027390249385985. What is a playing around with amcss? How do you make a playing around with amcss? This script and codes were developed by Jon Milner on 09 December 2022, Friday.

Playing Around with AMCSS Previews

Playing Around with AMCSS - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Playing Around with AMCSS</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <a am-button="am-button" href="#">Regular Button</a>
<hr/><a am-button="small" href="#">Small Button</a>
<hr/><a am-button="large" href="#">Large Button</a>
<hr/><a am-button="blue" href="#">Regular Blue Button</a>
<hr/><a am-button="small blue" href="#">Small Blue Button</a>
<hr/><a am-button="large blue" href="#">Large Blue Button</a>
<hr/><a am-button="pink" href="#">Regular Pink Button</a>
<hr/><a am-button="small pink" href="#">Small Pink Button</a>
<hr/><a am-button="large pink" href="#">Large Pink Button</a>
</body>
</html>

Playing Around with AMCSS - Script Codes CSS Codes

[am-button] { display: inline-block; margin: 5px; padding: 10px; color: #0088cc; font-family: sans-serif; font-size: 12px; font-weight: bold; text-decoration: none; -webkit-transition: all .2s ease; transition: all .2s ease;
}
[am-button~="small"] { padding: 8px; font-size: 11px;
}
[am-button~="large"] { padding: 12px; font-size: 13px;
}
[am-button~="blue"] { background: #0088cc; border: 1px solid #006699; color: #fff;
}
[am-button~="blue"]:hover { background: #00aaff;
}
[am-button~="pink"] { background: #ea1767; border: 1px solid #bd1152; color: #fff;
}
[am-button~="pink"]:hover { background: #ee4686;
}
Playing Around with AMCSS - Script Codes
Playing Around with AMCSS - Script Codes
Home Page Home
Developer Jon Milner
Username jonmilner
Uploaded December 09, 2022
Rating 3
Size 2,454 Kb
Views 10,120
Do you need developer help for Playing Around with AMCSS?

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!

Jon Milner (jonmilner) 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!