摘要: type OverloadedReturnType<T> = T extends { (...args: any[]) : infer R; (...args: any[]) : infer R; (...args: any[]) : infer R ; (...args: any[]) : inf 阅读全文
posted @ 2023-07-06 14:17 Zhentiw 阅读(12) 评论(0) 推荐(0)
摘要: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_container_queries .container { container: article / inline-size; } h2 { font-size: 7cqw; } @conta 阅读全文
posted @ 2023-07-06 03:14 Zhentiw 阅读(28) 评论(0) 推荐(0)
摘要: The margin-trim property allows the container to trim the margins of its children where they adjoin the container's edges. https://developer.mozilla.o 阅读全文
posted @ 2023-07-06 03:05 Zhentiw 阅读(45) 评论(0) 推荐(0)
摘要: html: <div class="post"> <h2>Post</h2> <a href="#"> a link</a> </div> <div class="post"> <h2>Post</h2> </div> <div class="post"> <a href="#"> a link</ 阅读全文
posted @ 2023-07-06 03:01 Zhentiw 阅读(17) 评论(0) 推荐(0)