Android Music

In this example below you will see how to do a Android Music with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by -J0hn-, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright -J0hn- ©

Technologies

  • HTML
  • CSS
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Android Music</title>
  
  
  <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/bootstrap-rating/1.4.0/bootstrap-rating.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css'>

      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class='container'>
  <div class="img">
    <img src="https://up-1.cdn-fullscreendirect.com/production/photos/7549/original/20160818_193928_7549_939483.jpeg">
    <nav>
      <i class="fa fa-arrow-left"></i>
      <i class="fa fa-search"></i>
    </nav>
    <div class="gradient"></div>
  </div>
  
  <div class="content">
    <h2>hardwired...to self-destruct <i class="fa fa-bookmark"></i></h2>
    <div class="release">
      <div class="circle"></div>
      <div>
        <h5>Metallica</h5>
        <h6>November 18,2016</h6>
      </div>
    </div><!--release end-->
    <div class="buttons">
      <button class="uppercase">free trial</button>
      <button>$9.49</button>
    </div><!--buttons end-->
    <hr>
    <div class="info">
      <div>
        <div class="circle">
          <h3>4.6</h3>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half"></i>
        </div><!--circle one end-->
        <p>654 <i class="fa fa-user"></i></p>
      </div>
      <div>
        <div class="circle">
          <i class="fa fa-music"></i>
        </div><!--circle two end-->
        <p>Rock</p>
      </div>
      <div>
        <div class="circle">
          <i class="fa fa-clone"></i>
        </div><!--circle three end-->
        <p>Similar</p>
      </div>
    </div><!--info end-->
    <hr>
    <a href="#">read more</a>
    <hr>
    <div class="name">
      <div class="circle"><span>j</span></div>
      <h5>john doe</h5>
      <h6>Rate this album</h6>
    </div><!--name end-->
    <div class="rate">
<!--         <i class="fa fa-star-o"></i>
        <i class="fa fa-star-o"></i>
        <i class="fa fa-star-o"></i>
        <i class="fa fa-star-o"></i>
        <i class="fa fa-star-o"></i> -->
      
      <input type="hidden" class="rating" data-filled="fa fa-star" data-empty="fa fa-star-o"/>
      
      <p>Your reviews are linked to your account and are public</p>
      </div><!--rate end-->
    <hr>
    <div class="flex">
      <h4>Songs</h4>
      <button class="uppercase">play all</button>
    </div><!--flex end-->
    <ul>
      <div class="inline">
        <li><span>1</span> hardwired</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>2</span> atlas, rise!</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>3</span> now that we're dead</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>4</span> moth into flame</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>5</span> dream no more</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>6</span> halo on fire</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>1</span> confusion</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>2 </span>manUNkind</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>3 </span>here comes revenge</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>4 </span> am i savage?</li>
        <button>$1.29</button>
        </div>
      <div class="inline">
        <li><span>5 </span> murder one</li>
        <button>$1.29</button>
      </div>
      <div class="inline">
        <li><span>6 </span> spit out the bone</li>
        <button>$1.29</button>
        </div>
    </ul>
    
    <section>
      <div class="flex">
      <h3>similar albums</h3>
      <a href="">more</a>
    </div>
      
      <div class="variable-width">
  <div class="card">
    <div class="album">
      <img src='http://i1.wp.com/www.metalinjection.net/wp-content/uploads/2015/10/megadethdystopiacd.jpg?resize=600%2C600'/>
    </div>
    <div class="card-info">
      <div class="align">
      <h5>dystopia</h5>
      <i class="fa fa-ellipsis-v"></i>
      </div>
      <div class="align">
      <h6>megadeth</h6>
        <h6 class="price">$9.49</h6>
      </div>
      </div>
  </div>
  
    <div class="card">
    <div class="album">
        <img src="https://metalodyssey.files.wordpress.com/2015/09/iron-maiden-the-book-of-souls-promo-album-cover-pic-2015-mmilgss.jpg"/>
      </div>
      <div class="card-info">
        <div class="align">
    <h5>speed of light</h5>
          <i class="fa fa-ellipsis-v"></i>
        </div>
        <div class="align">
      <h6>iron maiden</h6>
          <h6 class="price">$1.29</h6>
          </div>
      </div>
  </div>
  
  <div class="card">
    <div class="album">
        <img src="https://upload.wikimedia.org/wikipedia/en/thumb/1/1f/SlayerRepentless.png/220px-SlayerRepentless.png"/>
      </div>
    <div class="card-info">
      <div class="align">
    <h5>repentless</h5>
        <i class="fa fa-ellipsis-v"></i>
      </div>
      <div class="align">
      <h6>slayer</h6>
        <h6 class="price">$0.99</h6>
      </div>
      </div>
  </div>
  
  <div class="card">
    <div class="album">
        <img src="https://upload.wikimedia.org/wikipedia/en/8/80/Newstead-metal-ep-cover.jpg"/>
      </div>
    <div class="card-info">
      <div class="align">
    <h5>metal</h5>
        <i class="fa fa-ellipsis-v"></i>
      </div>
      <div class="align">
      <h6>newsted</h6>
        <h6 class="price">$3.96</h6>
      </div>
      </div>
  </div>
  
  <div class="card">
    <div class="album">
        <img src="https://upload.wikimedia.org/wikipedia/en/thumb/f/fd/Mot%C3%B6rhead_-_Bad_Magic_(2015).jpg/220px-Mot%C3%B6rhead_-_Bad_Magic_(2015).jpg"/>
      </div>
    <div class="card-info">
      <div class="align">
    <h5>black magic</h5>
        <i class="fa fa-ellipsis-v"></i>
      </div>
      <div class="align">
      <h6>mot&ouml;rhead</h6>
        <h6 class="price">$9.49</h6>
      </div>
      </div>
  </div>
  
</div>
      <h5><i class="fa fa-flag"></i>Flag as inappropriate</h5>
    </section>
    
  </div><!--content end-->
</div><!--container-->
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/bootstrap-rating/1.4.0/bootstrap-rating.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.js'></script>

  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/-J0hn-/android-music-RoQNeq */
body{
  display:flex;
  justify-content:center;
  align-items:center;
/*   background:rgb(255, 51, 0); */
  background:lightgrey;
  overflow:hidden;
  height:100vh;
}
::-webkit-scrollbar{
  width:0;
}
.container{
  margin:1em 0 0 0;
  padding-bottom:1em;
/*   border:solid 1px black; */
  width:400px;
  height:600px;
  overflow-y:scroll;
}
.img{
  width:400px;
  height:350px;
  background-color:rgb(255, 51, 0);
  position:fixed;
/*   top:0; */
  z-index:-1;
}
.img img{
  width:100%;
  height:100%;
  z-index:-1;
}
nav{
  z-index:100;
  position:absolute;
/*   background:red; */
  top:0;
  left:0;
  right:0;
  width:auto;
/*   margin:auto 1em; */
  padding:1.2em 1em;
  color:rgb(255,255,255);
}
nav .fa-search{
  float:right;
}
.gradient{
  width:auto;
  height:70px;
  background:linear-gradient(to bottom,rgba(50,50,50,.3),transparent); 
  position:absolute;
  top:0;
  left:0;
  right:0;
}
.content{
  background:white;
  margin-top:21.8em;
  z-index:400;
  width:400px;
/*   height:700px;  */
}
h2:nth-of-type(1){
  text-transform:capitalize;
  font-family:'Arial';
  font-weight:500;
  font-size:1.4em;
  color:black;
  margin-left:.6em;
  padding-top:.6em;
  margin-bottom:0;
}
.uppercase{
  text-transform:uppercase;
}
/* .content h4{
  font-family:'Helvetica';
  margin-left:.80em;
  margin-bottom:0;
  padding-top:1em;
} */
.fa-bookmark{
  color:rgb(255, 51, 0);
  float:right;
  margin-right:.70em;
}
 h5{
  font-family:'Arial';
  margin-top:.60em;
  margin-bottom:0;
  font-weight:bold;
}
.release h6{
  font-family:'Arial';
  color:rgb(100,100,100);
  font-weight:500;
  margin-top:1.2em;
}
.release{
  margin-left:1em;
  margin-bottom:.55em;
  margin-top:1em;
  line-height:0;
  width:170px;
  height:60px;
/*   border:solid 1px red; */
  display:flex;
  align-items:center;
}
.release  div:not(.circle){
/*   border:solid 1px green; */
  align-self:flex-end;
  margin-top:0;
}
.release .circle{
  border:solid 1px transparent;
  background:red url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMVFhUXGRoYGBgYGBcYGBsXGxsYGRodGxodHSggGCAmHRgaITEhJSkrLi4uHx8zODMtNygtLisBCgoKDQ0NDg0NDisZFRk3KysrKysrKysrKy0rKzcrKysrKysrKysrLSsrKysrKysrKysrKysrKysrKysrKysrK//AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABgEEBQcIAwL/xABIEAACAQIDBQYCBggCCAcBAAABAgMAEQQSIQUGMUFRBxMiYXGBMpEIFCOhscEzQlJicoKS8KLxFSQlQ3Oy0eFTY2STo8LDF//EABUBAQEAAAAAAAAAAAAAAAAAAAAB/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A3hSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlW+OxscKGSV1RF4sxsBQXFK15tTtl2XED3byTsDbLHGw980gVbehq93U7T8Djn7pO8ik5LKFF/QqxvQTalKUClKUClWm0NqQQZe+mjizGy946pc9Bc61dA31oK0pSgUpSgUpVv9eiz933iZ/2My5v6b3oLilKiO+u3+7DQhsl01cMA2Y3si66EgXJ0sLW43AS1mA46V8xTKwurBh1BBH3VzzPsPFY9C7Hu0PAOWztyvqeHr7VTdbZuMwMpmhZkVdChJYMunxKdNeOliOtB0VSsdu9tVcTh45hpmHiHRgbMPYg/dWRoFKUo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nhRczRk6+FBqVvqLfCdOFbm3LM31HDd+GEoiUNmFm0FgWHJiACR1vQZlVAFgLAcB5Vzp2/wA2faOWwBiiReGrBiXvfyJI+ddGVzh29oBtO4BJaGO/qC3DrpbSgyH0dcI31zESfqrBl92dSPuQ/Kt/1qz6PuCRcHNIFYSPIFdjbKcl8qp5AMSb82NbToFKUoFKUoFQrZXZth4sbJjXd5XZ2kRHC5EZmLXGlyRfS/Dj0tNaUClKUClKUCo9v9u4MfgZsPwcjNGTykXVfY8D5E1IaUHOnYMGj2tJGwKsIZUdToQyvHcHzBWui6x8Gw8OmIfEpCizuuV5AoDMNDqfYa+Q6VkKBSlKDWfb8v8As5CUDqJhe5Iylo5FVrjozA66cudYfsEjjaTESQIyRJHHEQzZy0t2Z2uNLWAsBW3NoYGOeNopUWSNxZlYXUjjqPXWvDY2xoMLH3WHiSJLk5VFrk8SeZOg1PQUGs96+x84zaT4rvlWCQq0iAHvLgKCF5Wa183EXOhra+HhCKqKAFUAADgAK9KUClKUClKUC1KUoFc/drW0ElxeJBGilI1Ite6gZ/8AFp7V0DXKvaFNJ9dnDXsJZG/qYsPmDeg3h2KkHZUVuGeX/nap1UP7JMA0Oy4FcWY52t/E7EfMa1MKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBUN3h7PMPi5u9d5BchmQEFSb30uLqTUypQfEMQVQqgBVAAA4ADQAe1fdKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUClKUH/2Q==');
  background-size:cover;
  width:50px;
  height:50px;
  border-radius:50%;
  margin-right:1em;
/*   transform:translate(-58px,32px); */
}
/*BUTTONS*/
.buttons{
  display:flex;
  justify-content:center;
}
button{
/*   flex:1; */
  flex-basis:43%;
  margin:auto .50em .15em .50em;
  padding:9px 10px;
  border-radius:4px;
  cursor:pointer;
}
button:nth-of-type(1){
  background:none;
  border:solid 2px rgb(255, 51, 0);
  color:rgb(255, 51, 0);
  font-weight:600;
  transition-duration:.2s;
}
button:nth-of-type(1):hover{
  background:rgb(255, 51, 0);
  color:rgb(255,255,255);
}
button:nth-of-type(2){
  background:rgb(255, 51, 0);
  border:solid 2px rgb(255, 51, 0);
  color:rgb(255,255,255);
}

hr{
/*   margin:.85em 1.3em; */
  border-color:rgb(255,255,255);
  margin-left:1em;
  margin-right:1em;
}

/*INFO*/
.info{
  display:flex;
  justify-content:center;
  margin:1.2em auto 0 auto;
}
.info .circle{
  width:60px;
  height:60px;
  border-radius:50%;
  margin:auto .85em;
  box-shadow:0 1px 2px rgb(90,90,90);
  background:rgb(255, 51, 0);
}
.info  h3{
  margin:auto;
  padding:auto;
  transform:translate(17px, 15px);
  margin-bottom:10px;
  color:rgb(255,255,255);
  font-family:sans-serif;
}
.circle .fa{
  color:rgb(255,255,255); 
}
.circle .fa-star, .fa-star-half{
  
  font-size:.30em;
  transform:translateX(8px);
}
.circle .fa-music{
  font-size:1.6em;
  transform:translate(17px,17px);
}
.circle .fa-clone{
  font-size:1.6em;
  transform:translate(18px,18px);
}
.info p{
  font-family:'Arial';
  font-size:.80em;
/*   padding-left:1em; */
/*   padding-right:1em; */
/*   margin:.80em auto 0 auto; */
/*   background:red; */
/*   width:50px; */
  text-align:center;
}
p .fa-user{
  font-size:.85em;
  color:rgb(90,90,90);
}

a{
  color:rgb(255, 51, 0);
  text-decoration:none;
  display:block;
  text-align:center;
  text-transform:uppercase;
  font-family:'Arial';
  margin:1.3em auto;
  width:150px;
  padding:.30em .80em;
}

.name{
/*   border:solid 1px red; */
  width:150px;
  height:110px;
  margin:1.3em auto auto auto;
  text-align:center;
  text-transform:capitalize;
}
.name .circle{
  width:50px;
  height:50px;
  border-radius:50%;
  background:rgb(133, 133, 173);
  border:solid 2px rgb(255,255,255);
  box-shadow:0 1px 2px rgb(0,0,0);
  color:rgb(250,250,250);
  font-size:1.8em;
  font-family:'Arial';
  margin:auto auto .30em auto;
}
.name .circle span{
/*   border:solid 1px red; */
  display:block;
  padding-top:.3em;
}
.name h6{
  font-family:'Arial';
  margin-top:.3em;
  font-weight:200;
  color:rgb(120,120,120);
}
.rate{
  text-align:center;
/*   border:solid 1px red; */
/*   width:250px; */
  margin:auto;
}
/* .rate i{
  font-size:1.6em;
  color:rgb(0,0,0);
  margin:.40em .80em;
} */
.rate .fa{
  font-size:1.6em;
  margin:.40em .80em;
}
.rate p{
  font-style:italic;
  color:rgb(150,150,150);
  font-family:'Arial';
  font-size:.80em;
  margin-top:.5em;
}
.flex{
  display:flex;
  justify-content:space-between;
/*   background:red; */
/*   height:65px; */
  margin:2.5em auto auto auto;
}
.flex h4{
  font-weight:200;
  font-family:'Arial';
  align-self:center;
  margin:0 0 0 1em;
}
.flex  button{
  padding:.50em .55em;
  flex-basis:20%;
  font-size:.75em;
/*   margin:0; */
  align-self:flex-end;
  outline:0;
}
ul{
  list-style:none;
/*   display:flex; */
  
/*   justify-content:space-around;
  justify-content:baseline;
  align-content:center;
  align-items:baseline; */
  padding-left:0;
}
ul .inline{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  align-content:center;
/*   background:red; */
  height:55px;
}
.inline span{
  margin-right:.70em;
  color:rgb(130,130,130);
}
.inline li{
  padding-left:.50em;
  align-self:center;
}
ul li {
  text-transform:capitalize;
  font-family:'Arial';
/*   margin:.20em 0; */
  margin:0;
  padding:0;
/*   border-bottom:solid 1px red; */
  
/*   height:50px; */
  
/*   background:green; */
}
ul .inline button{
/*   float:right; */
  flex-basis:15%;
  padding:auto;
  margin-right:.45em;
  margin-bottom:.65em;
  background:rgb(255,255,255);
}
ul .inline button:hover{
  border-color:rgb(255,255,255);
  background:white;
  border-color:rgb(255,51,0);
  color:rgb(255, 51, 0);
}
ul .inline button,.card:focus{
  outline:0;
}
.inline:hover{
  background:rgb(255, 51, 0);
  color:rgb(255,255,255);
}
.inline li{
  cursor:default;
}

section{
  background:rgb(225, 225, 208);
  width:auto;
  padding-bottom:.50em;
/*   height:290px; */
}
section h3{
  font-family:'Arial';
  font-weight:500;
  margin-left:.40em;
  
/*   border:solid 1px red; */
}
section h3:first-letter{
  text-transform:capitalize;
}
section .flex{
/*   border:solid 1px red; */
  justify-content:space-around;
  align-items:baseline;
  height:50px;
/*   margin:0; */
  margin:0 0 1em 0;
}
section .flex a{
  font-weight:bold;
  font-size:.85em;
  margin-right:1em;
/*   border:solid 1px red; */
  width:auto;
}
.variable-width{
/*   border:solid 1px red; */
/*   width:500px; */
  margin:auto auto 1em .40em;
}

.card{
  width:120px;
  height:180px;
/*   border:solid 1px gray; */
  background:white;
  margin-right:.25em;
}
.card .album{
  width:100%;
  height:115px;
/*   border-color:transparent; */
}
 .card .album img{
  width:100%;
  height:100%;
}

.card-info{
  font-family:'Arial';
  text-transform:capitalize;
  line-height:0;
  margin:.60em .20em 0 .20em;
  padding:0 .10em;
  width:auto;
  height:65px;
/*   border:solid 1px red; */
}
.card-info h5{
  margin-bottom:.1em;
}
.card-info h6{
  color:gray;
}
.align{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
}
.align .price{
  color:rgb(255, 51, 0);
}
section .fa-flag{
  margin-right:.40em;
  margin-left:.60em;
}
section h5:last-child{
  font-weight:200;
}

/*Downloaded from https://www.codeseek.co/-J0hn-/android-music-RoQNeq */
$(document).ready(function() {
  
// WHEN HOVER THE TRACK NUMBER CHANGES TO A PLAY BUTTON
  $('.inline').each(function() {
      //get track number
      var $trackNumber = $(this).children().find('span').text();
      var $span = $(this).children().find('span');
    
      $(this).hover(function() {
          //replace track number with play icon
          $($span).text('').addClass('fa fa-play').css({
            'color': 'white',
            'cursor': 'pointer'
          });
        },
        function() {
          //replace play icon with track number
  $($span).text($trackNumber).removeClass('fa fa-play').css({
            'color': 'rgb(130,130,130)'
          });
        }
      );
    });
  
  // WHEN CLICKED, PLAY BUTTON CHANGES TO PAUSE BUTTON
  $('li span').on('click',function(){
    if($(this).hasClass('fa-play')){
      $(this).removeClass('fa-play').addClass('fa-pause');
    } else if($(this).hasClass('fa-pause')){
      $(this).removeClass('fa-pause').addClass('fa-play');
    }
  });
  
  //BOOTSTRAP RATING
  $('input').on('change', function() {
    alert('Rating: ' + $(this).val());
  });

  //SLICK CAROUSEL
  $('.variable-width').slick({
    arrows: false,
    dots: false,
    infinite: false,
    speed: 300,
    slidesToShow: 3,
    centerMode: false,
    variableWidth: true
  });
});

Comments