摘要:
ProductCard component import './ProductCard.css'; import { ReactNode } from 'react'; import * as React from 'react'; import ProductCardContext from '. 阅读全文
posted @ 2023-03-30 00:58
Zhentiw
阅读(40)
评论(0)
推荐(0)
摘要:
.card { width: min(700px, 90%, 70vw); // take the one currently is the min height: max(300px, 90%, 40vh); // take the one currently is the max font-si 阅读全文
posted @ 2023-03-30 00:42
Zhentiw
阅读(41)
评论(0)
推荐(0)
摘要:
Refer to https://dev.to/frehner/css-vh-dvh-lvh-svh-and-vw-units-27k4 he lvh, svh, and dvh units in CSS are used to specify heights relative to the vie 阅读全文
posted @ 2023-03-30 00:37
Zhentiw
阅读(81)
评论(0)
推荐(0)
摘要:
const demoFunc = <TObj extends {}>(obj: TObj, key: ErrorIfNever<keyof TObj, `You much pass at least one key`>) => { return obj[key as keyof TObj] } ty 阅读全文
posted @ 2023-03-30 00:29
Zhentiw
阅读(26)
评论(0)
推荐(0)

浙公网安备 33010602011771号