본문 바로가기

Xesper's blog

검색하기
Xesper's blog
프로필사진 윤종선

  • 분류 전체보기 (26)
    • BackEnd (3)
      • Laravel (1)
      • Codeigniter (0)
      • IDE (0)
      • Core (2)
    • FrontEnd (1)
      • [JS] jQuery (0)
      • [JS] Kendo UI (0)
      • [JS] Vue.js (0)
      • Javascript (0)
      • HTML (0)
      • CSS (1)
    • iOS (0)
      • Swift (0)
      • Xcode (0)
    • Mac (3)
      • Tools (1)
      • Settings (2)
    • WAS (2)
      • Apache (1)
      • nginx (1)
    • Server (6)
      • Security (1)
      • Linux (1)
      • AWS (4)
    • Evironment (3)
      • ITS (1)
      • VCS (2)
    • Xesper (1)
      • Xesper's diary (0)
      • 좋은 글귀 (1)
      • Bestidol's diary (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • OpenSSL
  • git #commit #rebase
  • cert.pem
  • composer
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록FrontEnd (1)

Xesper's blog

[CSS] Flex 써보기

먼저 부모가 flex로 지정되어야함. .container { display:flex;} flex-direction 각각 아이템들을 가로로 나열하려면 row, 세로는 column justify-content가로 정렬flex-start(default)flex-endcenterspace-betweenspace-around align-items세로 정렬flex-start(default)flex-endcenterbaselinestretch위의 정렬들은 자식들을 전체정렬하는 기준이고 개별적으로 정의하고 싶을땐 자식 자체가 값을 달리하면 됨. .item1 {align-self: flex-end;} 예제 : https://jsfiddle.net/xnbrmhxy/

FrontEnd/CSS 2017. 7. 21. 22:35
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바