Skip to content

Instantly share code, notes, and snippets.

View ingu627's full-sized avatar
๐Ÿ™‚

ingu627 ingu627

๐Ÿ™‚
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<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>Document</title>
<link rel="stylesheet" href="./main.css">
</head>
<body>
.container {
width: 300px;
margin: auto;
background-color: orange;
}
.btn {
display: inline-block;
padding: 10px;
background-color: royalblue;
color: white;
.container .item {
width: 100px;
height: 100px;
background-color: royalblue;
margin: 30px;
padding: 10px;
border-radius: 10px;
transition: 1s;
}
.container .item:nth-child(1):hover {
.container {
background-color: orange;
display: flex;
justify-content: center;
}
.container .item {
width: 100px;
height: 100px;
background-color: royalblue;
border: 2px solid black;
.container {
width: 400px;
height: 250px;
margin: 50px;
padding: 20px;
background-color: orange;
box-sizing: border-box;
position: relative;
}
.container .item {
/* https://ingu627.github.io/assets/images/POEUN.png */
.container .item {
width: 200px;
height: 100px;
background-color: orange;
margin: 10px;
background-image: url("https://ingu627.github.io/assets/images/POEUN.png");
background-size: 80px;
background-repeat: no-repeat;
.container .item {
color: yellowgreen;
border: 2px solid black;
line-height: 2;
font-size: 30px;
font-style: italic;
text-align: center;
}
.container .item:nth-child(2) {
font-weight: bold;
.container {
}
.container .item {
width: 200px;
height: 100px;
background-color: tomato;
margin-bottom: 20px;
padding: 20px;
border: 4px dashed blue;
[disabled]{
background-color: red;
}
[type="password"]{
color: red;
}
div::before {
content: "123";
}
div::after {
content: "123";
color: red;
font-size: 20px;
}