Skip to content

How mto change the label font style in CSS?

.swap {
  position: relative;
  padding-left: 80px;
.swap + .swap {
  margin-top: 5px;
.swap label {
  position: absolute;
  left: 0;

input:focus+label {
  font-family: 'Roboto Medium', sans-serif;
  font-size: 16px;
  color: #000;
  font-weight: 100;
See also  Python code snippet - How to fix the rank in jupyter notebook?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.