Snippet · Mecha CMS

Code snippet collection for developers.

Logo in the Log In Form

Author: Taufik Nurrohman · 224 Views

Tweet

Add logo to the default log in system form.

.form-user:before {
  content:"";
  display:block;
  width:80px;
  height:80px;
  margin:0 auto 1em;
  background:transparent url('path/to/logo.png') no-repeat 50% 50%;
  background-size:100% 100%;
}

Replace path/to/logo.png with your logo image URL.

0 Comments

No comments yet.