분류 전체보기
-
3. 몽고 DB - aggregation (집계, 합산)데이터베이스/MongoDB 수업 2023. 8. 2. 17:35
https://ozofweird.tistory.com/entry/MongoDB-Aggregation-Pipeline [MongoDB] Aggregation Pipeline 1. Aggregation Pipeline 1) Pipeline 파이프라인이란, 이전 단계의 연산결과를 다음 단계 연산에 이용하는 것을 의미한다. 2) Aggregation Framework MongoDB의 Aggregation Framework는 데이터 처리 파이프라인의 개념을 ozofweird.tistory.com * match 파이프라인 실습 [ { "author" : "dave", "score" : 80, "views" : 100 }, { "author" : "dave", "score" : 85, "views" : 521 }, ..
-
말풍선 툴팁 & 드롭다운 메뉴 만들기프론트엔드/컴포넌트 2023. 7. 29. 10:14
format_color_text format_color_text body{ text-align: center; } .container{ max-width: 2rem; display: inline-flex; flex-flow: column; align-items: center; position: relative; } .color-box{ width: 10rem; background-color: #333; position: absolute; display: none; bottom: -11rem; } .color-box::before{ content: ''; width: 1.4rem; height: 1.4rem; background-color: #333; position: absolute; left: 50%;..
-
스크롤바 연습과제프론트엔드/HTML & CSS 연습과제 해답 2023. 7. 20. 17:57
스크롤을 조금 내리면 헤더가 나타나고 scroll to top 버튼도 함께 나타난다. open 버튼을 클릭하면 모달창이 나타나고 뒷배경은 음영처리된다. 또한, 모달창을 확인하는동안 뒷배경이 스크롤되지 않도록 스크롤바는 숨긴다. close 버튼을 클릭하면 모달창이 사라지고 다시 스크롤바가 나타난다. story about contact OPEN header Lorem ipsum, dolor sit amet consectetur adipisicing elit. Corporis officia, tempora ipsam libero expedita, doloribus velit eveniet delectus omnis nostrum consectetur magnam tempore quas explicabo mol..
-
SASS 입문프론트엔드/CSS 2023. 7. 17. 11:10
https://seokzin.tistory.com/entry/SCSS-SCSS-%EB%AC%B8%EB%B2%95-%EC%A0%95%EB%A6%AC [SCSS] SCSS 문법 정리 프로젝트 규모가 커지고 복잡해질수록 순수 CSS의 한계를 많이 느끼게 됩니다. 그래서 SCSS나 CSS-in-JS의 도입은 사실상 필수가 되었습니다. 이 글을 통해 CSS의 문제점을 개선한 SCSS에 대해 알아보 seokzin.tistory.com 7. 함수 (Function) 박스 1 박스 2 박스 3 $max-width: 100%; // 부트스트랩 그리드 시스템처럼 12개의 컬럼 중에서 특정 비율만큼 가져감 @function columns($number: 1, $columns: 12){ @return $max-width * ..
-
5. 포스트 페이지 구현하기프로젝트/블로그 사이트 2023. 7. 16. 11:17
홈페이지에서 포스트 페이지 링크 연결하기 notifications 글쓰기 home.html 파일의 해당 코드 부분에 글쓰기 버튼을 추가한다. 그리고 글쓰기 버튼 클릭시 포스트 페이지로 이동하도록 링크를 걸어준다. header .navbar ul li a button{ width: 5rem; height: 2rem; background: var(--primary-color); color: #fff; border: none; border-radius: 2rem; cursor: pointer; font-size: .9rem; transition: .2s; } header .navbar ul li a button:hover{ background: var(--secondary-color); letter-spaci..
-
부트스트랩 연습과제 (2)프론트엔드/HTML & CSS 연습과제 해답 2023. 7. 14. 18:08
부트스트랩 5 를 사용하였고, 화면 상단에는 슬라이드 애니메이션이 동작합니다. images 폴더에 pet1.jpg, pet2.jpg, pet3.jpg, pet4.jpg 파일이 있어야 합니다. https://unsplash.com/ko 아름다운 무료 이미지 및 사진 | Unsplash 어떤 프로젝트를 위해서든 다운로드 및 사용할 수 있는 아름다운 무료 이미지 및 사진입니다. 어떤 로열티 프리 또는 스톡 사진보다 좋습니다. unsplash.com 해당 사이트에서 무료 이미지를 다운로드 받으실수 있습니다. Carousel Home Link Disabled Search First slide label Some representative placeholder content for the first slide. S..
-
부트스트랩 연습과제 (1)프론트엔드/HTML & CSS 연습과제 해답 2023. 7. 14. 16:40
images 폴더에 pet1.jpg 라는 파일이 있어야 제대로 화면이 구성됩니다. About Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information. Contact Follow on Twitter Like on Facebook Email me Album Album example Something short and leading about..
-
부트스트랩 5 자주 쓰는 클래스 정리프론트엔드/CSS 2023. 7. 14. 14:40
컨테이너 container 마진이 적용된 컨테이너 (반응형) 이미지 img-fluid 반응형 이미지 rounded-circle 둥근 이미지 텍스트 text start 좌측정렬 text end 우측정렬 fw-bold 볼드체 fs-1 폰트크기 display-4 fs-1 보다 큰 글씨체 Small 작은 텍스트 text-info 텍스트 색상 text-warning 텍스트 색상 text-dark 텍스트 색상 text-muted 텍스트 색상 (회색) text-center text-sm-start 기본적으로는 텍스트를 중앙에 정렬하고 디바이스 크기가 좀 더 커지면 왼쪽으로 정렬함 배경색 bg-dark 배경색 설정 bg-opacity-75 배경색 투명도 설정 opacity-50 투명도 50% 버튼 btn-info 버튼..