2024-06-12
This commit is contained in:
24
src/selectors.html
Normal file
24
src/selectors.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!--
|
||||
~ Copyright (c) 2024. Elex. All Rights Reesrved.
|
||||
~ https://www.elex-project.com/
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Selectors</title>
|
||||
<style>
|
||||
div *:first-child {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>이것은 첫 번째 문단입니다.</p>
|
||||
<p>그리고, 이것은 두번째 문단입니다.</p>
|
||||
<p>마지막으로, 이것은 세번째 문단입니다.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user