피그 마 stroke - pigeu ma stroke

I would love a different box model! I find it bizarre that padding and border add the width of an object, and would love to be able to give something like a textarea 100% width and 3px padding without worrying what it’s going to do the layout. Perhaps something like padding-inside as a new selector? In that vein I also wish I could specify a 100% width for an element, minus a set fixed width. Again, very useful when creating fluid designs with form elements!

아마 일러스트레이터 등 그래픽 툴을 사용하시던 분이라면 이 작업이 필요한 이유를 이미 납득하고 계실 거라는 생각이 듭니다. 문제는 Figma로 넘어왔을때 이 메뉴가 어디에 숨어있는건지 모른다는 것이죠...

일단 이 Outline stroke를 왜 해야 하는지 간단히 설명해보겠습니다.

 

피그 마 stroke - pigeu ma stroke
피그마 선 면으로 만들기

만약 이렇게 생긴 도형을 만들었다고 해볼게요. Stroke 속성을 그대로 살려둔 왼쪽 도형은 크기가 줄어들어도 선 굵기가 일정하게 유지되는 반면 Outline Stroke 하여 면속성으로 만들어준 오른쪽 도형은 줄어든 크기에 따라 선 굵기의 비율도 함께 줄어듭니다.

content-box는 기본 CSS 박스 크기 결정법을 사용합니다. 요소의 너비를 100 픽셀로 설정하면 콘텐츠 영역이 100 픽셀 너비를 가지고, 테두리와 안쪽 여백은 이에 더해집니다.

border-box는 테두리와 안쪽 여백의 크기도 요소의 크기로 고려합니다. 너비를 100 픽셀로 설정하고 테두리와 안쪽 여백을 추가하면, 콘텐츠 영역이 줄어들어 총 너비 100 픽셀을 유지합니다. 대부분의 경우 이 편이 크기를 조절할 때 쉽습니다.

Madama Butterfly is a 1904 opera in three acts by Giacomo Puccini, with an Italian-language libretto written by Luigi Illica and Giuseppe Giacosa. The plot is based on the short story "Madame Butterfly" (1898) by John Luther Long in turn based on stories told to Long by his sister Jennie Correll and on the semi-autobiographical 1887 French novel Madame Chrysanthème by Pierre Loti. The opera features Pinkerton, a U.S. naval officer, who rents a house in Nagasaki, Japan, for himself and Cio-Cio-San (nicknamed Butterfly), a 15-year-old Japanese girl whom he is marrying for convenience and intends to leave once he finds an American wife. This watercolor illustration on cardboard, from the archives of the music publisher Casa Ricordi, depicts the scenic design for a 1906 production Act 1 of Madama Butterfly, set in the hills near Nagasaki.

Illustration credit: Alexandre Bailly and Marcel Jambon; restored by Adam Cuerden

Other areas of Wikipedia

  • Community portal – The central hub for editors, with resources, links, tasks, and announcements.
  • Village pump – Forum for discussions about Wikipedia itself, including policies and technical issues.
  • Site news – Sources of news about Wikipedia and the broader Wikimedia movement.
  • Teahouse – Ask basic questions about using or editing Wikipedia.
  • Help desk – Ask questions about using or editing Wikipedia.
  • Reference desk – Ask research questions about encyclopedic topics.
  • Content portals – A unique way to navigate the encyclopedia.

Wikipedia's sister projects

Wikipedia is written by volunteer editors and hosted by the Wikimedia Foundation, a non-profit organization that also hosts a range of other volunteer projects: