/
index.md
48 lines (32 loc) · 2.28 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
title: CSS Shapes
slug: Web/CSS/CSS_shapes
---
{{CSSRef}}
**CSS Shapes**는 CSS에서 사용하기 위한 기하학적 도형을 설명한다. 레벌1 명세에 의하면 떠있는 요소에 CSS Shapes를 적용할 수 있다. 명세의 정의에 의하면 떠있는 요소의 모양을 정의 하거나 요소 상자의 사각형을 따르는 대신 테두리 선을 따라 감싸지도록 하는 방법 등 다양한 방법을 정의하고 있다.
## 기본 예제
아래 예제는 왼쪽에 떠있는 이미지에 shape-outside속성에 circle(50%) 값이 적용된 모습을 볼수 있다. 이런식으로 원모양을 만들면 도옇의 둘래를 따라 주변 텍스트가 흘러내리는것을 볼수 있다. 둘러싼 텍스트가 도형의 모양을 따라 길이가 변하게 되었다.
{{EmbedGHLiveSample("css-examples/shapes/overview/circle.html", '100%', 720)}}
## 참고서
### 속성
- {{cssxref("shape-outside")}}
- {{cssxref("shape-margin")}}
- {{cssxref("shape-image-threshold")}}
### 자료형
- {{cssxref("<basic-shape>")}}
## 안내서
- [Overview of CSS Shapes](/ko/docs/Web/CSS/CSS_Shapes/Overview_of_CSS_Shapes)
- [Shapes from Box Values](/ko/docs/Web/CSS/CSS_Shapes/Shapes_From_Box_Values)
- [Basic Shapes](/ko/docs/Web/CSS/CSS_Shapes/Basic_Shapes)
- [Shapes from Images](/ko/docs/Web/CSS/CSS_Shapes/Shapes_From_Images)
- [Edit Shape Paths in CSS — Firefox Developer Tools](/ko/docs/Tools/Page_Inspector/How_to/Edit_CSS_shapes)
## 외부 자료
- [A list of CSS Shapes resources](https://codepen.io/KristopherVanSant/post/css-shapes-resources)
- [CSS Shapes 101](https://alistapart.com/article/css-shapes-101)
- [Creating non-rectangular layouts with CSS Shapes](https://www.sarasoueidan.com/blog/css-shapes/)
- [How To Use CSS Shapes In Your Web Design](https://webdesign.tutsplus.com/tutorials/how-to-use-css-shapes-in-your-web-design--cms-27498)
- [How To Get Started With CSS Shapes](https://www.webdesignerdepot.com/2015/03/how-to-get-started-with-css-shapes/)
- [What I Learned In One Weekend With CSS Shapes](https://medium.com/@MHarreither/what-i-learned-in-one-weekend-with-css-shapes-66ae9be69cc5)
- [CSS vs. SVG: Shapes and Arbitrarily-Shaped UI Components](https://theblog.adobe.com/css-vs-svg-shapes-and-arbitrarily-shaped-ui-components/)
## 명세
{{Specifications}}