비전공자 개발일기

Noisy Grainy Icons 본문

HTML _CSS

Noisy Grainy Icons

HiroDaegu 2022. 12. 21. 00:04
728x90
SMALL

default of display

 

result
<!DOCTYPE html>
<html lang="ko">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>NOISY GRAINY ICONS</title>
    <link rel="stylesheet" href="style.css">
    <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css'
        integrity='sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w=='
        crossorigin='anonymous' />
</head>

<body>
    <section>
        <i class="fa fa-home" aria-hidden="true"></i>
        <i class="fa fa-user" aria-hidden="true"></i>
        <i class="fa fa-cogs" aria-hidden="true"></i>
    </section>
</body>

</html>
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	min-height: 100vh;
	display: grid;
	place-items: center;
	background: #111;
}
section {
	width: 80vw;
	padding: 1.75rem 1.25rem;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
	font-size: 60pt;
	color: #0000;

	background: repeating-radial-gradient(blue 0 0.001%, red 0 0.0001%) 50% 0/2500px
			2500px,
		repeating-conic-gradient(red 0 0.002%, yellow 0 0.02%) 50% 50%/2500px 2500px;

	background-blend-mode: difference;
	mix-blend-mode: difference;
	-webkit-background-clip: text;
	background-clip: text;
	/* border: 1px dotted white; */
}
.fa {
	margin: 1rem;
	transition: 0.5s ease-in-out;
	cursor: pointer;
}
.fa:hover {
	transform: scale(1.8);
}
728x90
LIST

'HTML _CSS' 카테고리의 다른 글

X-mas Background  (0) 2022.12.26
Number Fill Animation  (0) 2022.12.22
Credit Card2  (0) 2022.12.19
Elastic Line Animation  (0) 2022.12.18
Create Hover Effect  (0) 2022.12.12