答案 0 :(得分:0)
您可以对每个部分使用bootstrap-4 interface X {
key: string
value: number | undefined
default?: number
}
type NonOptionalKeys<T> = { [k in keyof T]-?: undefined extends T[k] ? never : k }[keyof T];
type Z = NonOptionalKeys<X>; // just 'key'
和card
请参见此处:https://jsfiddle.net/9k8w1fpq/4/
了解卡片:https://www.w3schools.com/bootstrap4/bootstrap_cards.asp
col-sm-6
&#13;
img{
width:100px;
height:100%;}
&#13;