Bootstrap 및 Tailwind CSS에 익숙하다면 특히 대규모 애플리케이션에서 작업할 때 코드베이스를 디버깅하는 것이 얼마나 힘든지 알 것입니다. 솔직히 제가 작업한 Bootstrap이나 Tailwind CSS 프로젝트는 모두 코드 줄이 너무 많아서 결국 그런 접근 방식이 싫증이 날 지경이었습니다.
Yumma CSS는 어떻게 비교되나요?
Yumma CSS는 일반 CSS 구문과 유사한 축약된 명명 규칙을 사용합니다.
Flexbox를 사용한 센터링
다음 프레임워크에서 Flex Box 요금을 사용하여 센터링하는 방법을 살펴보겠습니다.
부트스트랩 사용
<div class="align-items-center d-flex justify-content-center">...</div>
Tailwind CSS 사용
<div class="items-center flex jc-c">...</div>
Yumma CSS 사용
<div class="ai-c d-f jc-c">...</div>
미디어 쿼리 및 변형
Yumma CSS는 sm:*, md:*, lg:*, xl:* 및 xxl:*와 같은 의사 클래스 세트와 반응형 중단점을 제공합니다. 이를 통해 화면 크기와 사용자 상호 작용에 따라 디자인을 쉽게 조정할 수 있습니다.
건물 구성요소
카드 그리드 구성요소를 구축할 때 Yumma CSS가 Tailwind CSS와 어떻게 비교되는지 살펴보겠습니다.
Tailwind CSS 카드
<div class="grid h-screen w-full gap-4 p-6 md:grid-flow-dense md:grid-cols-3 md:grid-rows-3"> <div class="flex flex-col overflow-hidden rounded-xl border border-gray-200 bg-white p-6 shadow-lg md:col-span-1 md:row-span-2"> <div class="flex-grow"> <h1 class="mb-2 text-2xl font-semibold text-gray-800"> Yumma OS 7.2 </h1> <p class="mb-4 text-sm text-gray-600"> This update has some important bug fixes and also fixes an issue that was preventing users from enabling or disabling Advanced Data Protection. </p> <a class="text-sm text-pink-500 underline" href="/"> What's new? </a> </div> <div class="mt-auto flex flex-col space-y-4"> <button class="h-12 rounded-md bg-pink-600 px-6 font-semibold text-white"> Update Now </button> <button class="h-12 rounded-md border border-gray-200 px-6 font-semibold text-gray-900"> Update Tonight </button> </div> </div> <div class="flex flex-col overflow-hidden rounded-xl border border-gray-200 bg-white p-6 shadow-lg md:col-start-2 md:row-start-1"> <div class="flex-grow"> <h1 class="mb-2 text-2xl font-semibold text-gray-800"> Patch 6.2 </h1> <p class="mb-4 text-sm text-gray-600"> This update fixes security issues. Install it to keep your system safe. </p> </div> <button class="mb-4 mt-auto h-12 rounded-md bg-pink-600 px-6 font-semibold text-white"> Update Now </button> </div> <div class="flex flex-col overflow-hidden rounded-xl border border-gray-200 bg-white p-6 shadow-lg md:col-start-2 md:row-start-2"> <div class="flex-grow"> <h1 class="mb-2 text-2xl font-semibold text-gray-800"> What's new? </h1> <p class="mb-4 text-sm text-gray-600"> Take a look at the new features in the latest release, including better user interface elements and a more stable system. </p> <a class="text-sm text-pink-500 underline" href="/"> Learn more </a> </div> </div> </div>
Yumma CSS 카드
<div class="d-g h-1/1 w-full g-4 p-6 md:gaf-d md:gtc-3 md:gtr-3"> <div class="d-f fd-c ovf-h rad-3 b-1 bc-l-silver-6 bg-white p-6 bs-sm md:gc-s-1 md:gr-s-2"> <div class="fg-1"> <h1 class="mb-2 fs-xl fw-600 tc-d-lead-2"> Yumma OS 7.2 </h1> <p class="mb-4 fs-sm tc-l-lead-3"> This update has some important bug fixes and also fixes an issue that was preventing users from enabling or disabling Advanced Data Protection. </p> <a class="fs-sm tc-pink tdl-u" href="/"> What's new? </a> </div> <div class="mt-auto d-f fd-c s-y-4"> <button class="h-12 rad-2 bg-pink px-6 fw-600 tc-white"> Update Now </button> <button class="h-12 rad-2 b-1 bc-l-silver-5 px-6 fw-600 tc-lead"> Update Tonight </button> </div> </div> <div class="d-f fd-c ovf-h rad-3 b-1 bc-l-silver-6 bg-white p-6 bs-sm md:gcs-2 md:grs-1"> <div class="fg-1"> <h1 class="mb-2 fs-xl fw-600 tc-d-lead-2"> Patch 6.2 </h1> <p class="mb-4 fs-sm tc-l-lead-3"> This update fixes security issues. Install it to keep your system safe. </p> </div> <button class="h-12 rad-2 bg-pink px-6 fw-600 tc-white mt-auto mb-4"> Update Now </button> </div> <div class="d-f fd-c ovf-h rad-3 b-1 bc-l-silver-6 bg-white p-6 bs-sm md:gcs-2 md:grs-2"> <div class="fg-1"> <h1 class="mb-2 fs-xl fw-600 tc-d-lead-2"> What's new? </h1> <p class="mb-4 fs-sm tc-l-lead-3"> Take a look at the new features in the latest release, including better user interface elements and a more stable system. </p> <a class="fs-sm tc-pink tdl-u" href="/"> Learn more </a> </div> </div> </div>
유지 관리성 및 확장성
큰 프로젝트를 진행하는 경우 작업을 유지할 수 있는지가 정말 중요합니다. 이것이 바로 우리가 Yumma CSS를 모듈식 및 확장 가능하도록 설계한 이유입니다. React 또는 Vue와 같은 최신 프레임워크를 사용하는 애플리케이션에 탁월한 선택입니다. 간결한 클래스 이름과 체계적인 구조는 스타일을 관리하기 쉽게 유지하고 코드를 깔끔하게 유지하는 데 도움이 됩니다.
Yumma CSS | Property |
---|---|
ai-c | align-items: center; |
bg-blue | background-color: #3575dd; |
d-f | display: flex; |
jc-c | justify-content: center; |
m-4 | margin: 1rem; |
p-4 | padding: 1rem; |
rad-1 | border-radius: 4px; |
ta-c | text-align: center; |
tc-white | color: #ffffff; |
w-full | width: 100%; |
결론
Yumma CSS는 스타일을 단순하고 미니멀하게 유지하는 데 중점을 둡니다. 코드의 복잡성과 장황함을 줄이는 데 정말 도움이 될 수 있습니다. 명명 규칙과 모듈식 디자인은 매우 간결하며 현대적인 웹 개발을 위한 훌륭한 도구입니다. Yumma CSS를 사용해 보고 이것이 프로젝트에서 보다 효율적으로 작업하는 데 어떻게 도움이 되는지 알아보세요!
Yumma CSS에 대해 자세히 알아보기
위 내용은 Yumma CSS - 최신 CSS 프레임워크의 새로운 대안의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

Goofonts는 개발자 부인과 디자이너 남편이 서명 한 사이드 프로젝트로, 둘 다 타이포그래피의 큰 팬입니다. 우리는 Google에 태그를 지정했습니다

GraphQL API를 구축하는 방법을 배우는 것은 매우 어려울 수 있습니다. 그러나 10 분 안에 GraphQL API를 사용하는 방법을 배울 수 있습니다! 그리고 그것은 완벽하게 얻었습니다

여기 Yuanchuan의 합법적 인 CSS 속임수입니다. 이 CSS 속성 오프셋 경로가 있습니다. 옛날 옛적에, 그것은 모션 경로라고 불렸다가 이름이 바뀌 었습니다. 나


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

SublimeText3 Linux 새 버전
SublimeText3 Linux 최신 버전

DVWA
DVWA(Damn Vulnerable Web App)는 매우 취약한 PHP/MySQL 웹 애플리케이션입니다. 주요 목표는 보안 전문가가 법적 환경에서 자신의 기술과 도구를 테스트하고, 웹 개발자가 웹 응용 프로그램 보안 프로세스를 더 잘 이해할 수 있도록 돕고, 교사/학생이 교실 환경 웹 응용 프로그램에서 가르치고 배울 수 있도록 돕는 것입니다. 보안. DVWA의 목표는 다양한 난이도의 간단하고 간단한 인터페이스를 통해 가장 일반적인 웹 취약점 중 일부를 연습하는 것입니다. 이 소프트웨어는

ZendStudio 13.5.1 맥
강력한 PHP 통합 개발 환경

SecList
SecLists는 최고의 보안 테스터의 동반자입니다. 보안 평가 시 자주 사용되는 다양한 유형의 목록을 한 곳에 모아 놓은 것입니다. SecLists는 보안 테스터에게 필요할 수 있는 모든 목록을 편리하게 제공하여 보안 테스트를 더욱 효율적이고 생산적으로 만드는 데 도움이 됩니다. 목록 유형에는 사용자 이름, 비밀번호, URL, 퍼징 페이로드, 민감한 데이터 패턴, 웹 셸 등이 포함됩니다. 테스터는 이 저장소를 새로운 테스트 시스템으로 간단히 가져올 수 있으며 필요한 모든 유형의 목록에 액세스할 수 있습니다.

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.
