This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container { | |
| width: 300px; | |
| margin: auto; | |
| background-color: orange; | |
| } | |
| .btn { | |
| display: inline-block; | |
| padding: 10px; | |
| background-color: royalblue; | |
| color: white; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container .item { | |
| width: 100px; | |
| height: 100px; | |
| background-color: royalblue; | |
| margin: 30px; | |
| padding: 10px; | |
| border-radius: 10px; | |
| transition: 1s; | |
| } | |
| .container .item:nth-child(1):hover { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container { | |
| background-color: orange; | |
| display: flex; | |
| justify-content: center; | |
| } | |
| .container .item { | |
| width: 100px; | |
| height: 100px; | |
| background-color: royalblue; | |
| border: 2px solid black; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container { | |
| width: 400px; | |
| height: 250px; | |
| margin: 50px; | |
| padding: 20px; | |
| background-color: orange; | |
| box-sizing: border-box; | |
| position: relative; | |
| } | |
| .container .item { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .container { | |
| } | |
| .container .item { | |
| width: 200px; | |
| height: 100px; | |
| background-color: tomato; | |
| margin-bottom: 20px; | |
| padding: 20px; | |
| border: 4px dashed blue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [disabled]{ | |
| background-color: red; | |
| } | |
| [type="password"]{ | |
| color: red; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div::before { | |
| content: "123"; | |
| } | |
| div::after { | |
| content: "123"; | |
| color: red; | |
| font-size: 20px; | |
| } |
NewerOlder