> For the complete documentation index, see [llms.txt](https://ji5485.gitbook.io/web-practice-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ji5485.gitbook.io/web-practice-1/chapter1/css-attribute.md).

# CSS Attribute

이 프로젝트에서 사용하는 CSS 속성은 다음과 같다.

* width
* height
* margin
* padding
* background-color

width 속성은 요소의 너비값을 설정하는데 사용한다.

height 속성은 요소의 높이값을 설정하는데 사용한다.

margin 속성은 요소의 테두리 바깥쪽 여백을 설정하는데 사용한다.

기본적으로 투명하며 배경색 지정이 불가능하다.

padding 속성은 요소의 테두리 안쪽 여백을 설정하는데 사용한다.

기본적으로 투명하지만 요소에 지정된 색과 동일하게 나타난다.

background-color 속성은 요소의 배경색을 지정하는데 사용한다.

![](/files/-LerAETN1L6DCuLTeaSH)\[출처] <http://poiemaweb.com/css3-box-model> (margin과 padding을 이해하기 위한 참고자료)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ji5485.gitbook.io/web-practice-1/chapter1/css-attribute.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
