Trang chủ Chưa phân loạiLập trình C++ cơ bản, nâng cao

Lập trình C++ cơ bản, nâng cao

bởi Admin
37 lượt xem 4 Phút đọc
ol.ol { list-style: none; counter-reset: list; padding: 0 1rem; } .post-body ol>li.li { --stop: calc(100% / var(--length) * var(--i)); --l: 62%; --l2: 88%; --h: calc((var(--i) - 1) * (180 / var(--length))); --c1: hsl(var(--h), 71%, var(--l)); --c2: hsl(var(--h), 50%, var(--l2)); position: relative; counter-increment: list; max-width: 45rem; margin: 2rem auto; padding: 2rem 1rem 1rem; box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3); border-radius: 0.25rem; overflow: hidden; } .post-body ol>li.li::before { content: ''; display: block; width: 100%; height: 1rem; position: absolute; top: 0; left: 0; background: linear-gradient(to right, var(--c1) var(--stop), var(--c2) var(--stop)); } .post-body h3.h3 { display: flex; align-items: center; margin: 0 0 1rem; -webkit-text-fill-color: unset; } .post-body h3.h3::before { display: flex; justify-content: center; align-items: center; flex: 0 0 auto; margin-right: 1rem; width: 1.5rem; height: 1.5rem; content: counter(list); padding: 1rem; border-radius: 50%; background-color: var(--c1); color: #161616; } .post-body ol li ul, .post-body ul li ul{ padding: 0 0 0 72px; } @media (min-width: 40em) { .post-body ol>li.li { margin: 2rem auto; padding: 2rem 1.5rem 1.5rem; } .post-body h3.h3 { margin: 0 0 1rem; } .post-body h3.h3::before { margin-right: 1.5rem; width: 1.5rem; height: 1.5rem; } } @media only screen and (max-width: 680px) { .post-body h3.h3::before { display: flex; justify-content: center; align-items: center; flex: 0 0 auto; margin-right: 1rem; width: 1rem; height: 1rem; font-size:13px; content: counter(list); padding: .8rem; border-radius: 50%; background-color: var(--c1); } .post-body ol li ul, .post-body ul li ul{ padding: 0 0 0 10px; } }
  1. Giới thiệu

  2. Biến và kiểu dữ liệu

  3. Cấu trúc điều khiển và vòng lặp

  4. Mảng

  5. String

  6. Hàm

  7. Con trỏ

  8. Sử dụng hình ảnh

  9. Struct

  10. Làm việc với file

  11. Hướng đối tượng (OOP)

  12. Hoàn thành khóa học

Để lại bình luận

Focus Mode

Đã phát hiện trình chặn quảng cáo

Vui lòng hỗ trợ chúng tôi bằng cách tắt tiện ích chặn quảng cáo (AdBlocker) trên trình duyệt của bạn khi truy cập trang web của chúng tôi.