Sign in to follow this  
Tenchuu

Vehicle Navbar - Template

Recommended Posts

Hier einmal ein Template, das wenn man in einem vehicle sitzt das man eine kleine Navigation angezeigt bekommt ;)

Code ->

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>Speedometer</title>
    <link rel="stylesheet" href="assets/css/all.css">
  </head>

  <style>
    html {
      background: url("https://img.gta5-mods.com/q95/images/vehicle-weapons-net/7a578c-Vehicle%20Weapons.jpg") no-repeat center center fixed;
      background-size: cover;
    }
  .speed {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 350px;
    height: 10px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: white;
    text-align: center;
    padding-top: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
  }
  .fa-lock-open-alt {
    color: green;
  }
  .fa-tachometer-alt-fast {
    color: green;
  }
  .fa-gas-pump {
    color: green;
  }
  .fa-map-marked-alt {
    color: green;
  }
</style>
  <body>
    <div class="panels">
      <div class="speed">
        <i class="fal fa-lock-open-alt"> </i> | <i class="fal fa-tachometer-alt-fast"> </i> 300 KM/h | <i class="fal fa-gas-pump"> </i> 100.00 l | <i class="fal fa-map-marked-alt"> </i> 12345.00 km
      </div>
    </div>
  </body>
</html>

 

Screen ->

vWrAypt.jpg

Ihr braucht Font Awesome Pro oder benutzt andere Icons.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.