从我的HTML:
import numpy as np
import matplotlib.pyplot as plt
x = np.random.randint(1, 14, 50)
y = np.random.randint(1, 9, 50)
plt.plot(x, y, 'bo')
plt.xticks(range(1, 14));
plt.yticks(range(1, 9));
plt.grid(linestyle='dotted')
我正在尝试格式化占位符/自动填充标签,我在线研究了如何覆盖样式,但是我尝试过的操作对标签没有影响。
我想覆盖标签样式,因为其中一个文本与<mat-accordion>
<div class='left_panel_content2'>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>
ADD NEW
</mat-panel-title>
<mat-panel-description>
</mat-panel-description>
</mat-expansion-panel-header>
<div class="accordion_reveal">
<mat-form-field>
<input id="pop" matInput placeholder="List Name" [(ngModel)]="newList.name" name="name" type="text" class="form-control rounded-0" required>
</mat-form-field>
<mat-form-field>
<input matInput placeholder="List Type" [(ngModel)]="newList.type" name="type" type="text" class="form-control rounded-0" [matAutocomplete]="auto" required>
</mat-form-field>
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let option of options" [value]="option">
{{option}}
</mat-option>
</mat-autocomplete>
<div class="btnForm">
<button (click)="addList()" type="button" class="btn btn-primary float-right">Create New</button>
</div>
</div>
</mat-expansion-panel>
</div>
</mat-accordion>
重叠。
CSS尝试过:
Textbox