效果图 加入子主题style.css /*优设网文章样式开始*/ .col-3{ flex: 0 0 auto; width: 25% ! important; } .col-3 .widget-area{ width: calc(100% - 16px); min-width: auto ! important; } .col-3 .widget-title{ font-size:23px; font-family: "webfont"; border-bottom : 72px; } .col-3 .b2-widget-post-order span{ font-size: 28px; height: 36px; line-height :36px; } .col-3 .widget ul li h2{ font-size: 14px; line-height: 24px; margin-bottom: 0;
100%; display: flex; /*为了让同一row中的div横向排列,而非默认的纵向*/} .col-1 {width: 8.33%; } .col-2 {width: 16.67%; } .col --第三个布局 --> <divclass="row"> <divclass="<em>col-3</em>">1
那为了使得这个组件能更通用些,改造一下: 旧的html: <ion-row align-items-center> <ion-col col-3 align-self-center *ngFor=" originPath}}" class="auto-image" [style.height]="width"/> </ion-thumbnail> </ion-col> <ion-col col </ion-row> img都定义变量为#image,同时移除[style.height]="width",变成新的: <ion-row align-items-center> <ion-col col originPath}}" class="auto-image" /> </ion-thumbnail> </ion-col> <ion-col col-3 align-self-center
{ width: 8.33%; float: left; } .col-2 { width: 16.66%; float: left; } .col
关于路由跳转:没什么变化:
article.body|safe }}
->
对齐
对齐
对齐
对齐
对齐
-3">
对齐
对齐
对齐
对齐
对齐
对齐
-- Taste -->
海贼
弗兰克
乔巴
image.png 组件名为image-selector image-selector.html: <ion-row align-items-center> <ion-col col-3 align-self-center originPath}}" class="auto-image" [style.height]="width"/> </ion-thumbnail> </ion-col> <ion-col col
class="resule-preview">
对齐
对齐
对齐
对齐
对齐
bootstrap布局是栅格系统 页面分为12格子 col-6 表示占6格 col-3表示占3格 v5版本的新表示 xs<576px sm≥576px md≥768px lg≥992px xl≥1200px
例如: SELECT <col-1>,<col-2>,<col-3>,... FROM <table1> <alias-a>,<table2> <alias-b> WHERE <alias-a>. 例如: SELECT <col-1> <alias-a>,<col-2> <alias-b>,<col-3> <alias-c>,... FROM