Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. HTML:
  2. `<div class="form-group">
  3. <mat-form-field class="example-full-width" color="white">
  4. <input matInput
  5. jhiTranslate="global.form.username.label"
  6. type="text" class="form-control"
  7. name="username" id="username"
  8. placeholder="
  9. {{'global.form.username.placeholder' |
  10. translate}}" formControlName="username">
  11. </mat-form-field>
  12. </div>`
  13.  
  14. CSS :
  15. `.example-form {
  16. min-width: 150px;
  17. max-width: 500px;
  18. width: 100%;
  19. }
  20.  
  21. .example-full-width {
  22. width: 100%;
  23. }`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement