<!-- HERE the original HTML code of the FOOTBALL Scoreboard. 


!!!!------ REMEMBER --------!!!!
on Flexyscore 
YOU WILL NOT BE ABLE TO MODIFY HTML PART! -->
<section id="boxes">
<div class="container containerfootball">
  <div class="sgrlogo" style="background: url(https://www.live.flexyscore.net/logofs.svg) no-repeat center;"></div>
  <div class="box boxtimer" id="timer">12:23</div>
  <div class="box boxhometeam" id="team_1">East Team</div>
  <div class="box boxhomepoints" id="points_1">6</div>
  <div class="space">-</div>
  <div class="box boxawaypoints" id="points_2">4</div>
  <div class="box boxawayteam" id="team_2">West Team</div>
			
  <div class="box boxattempts">
    <span id="attempts">2</span>
    <span id="suffixattempts">st</span>
    <span class="end">&amp;</span>
    <span class="box boxyards" id="yards">35</span>
  </div>

  <div class="box boxmoment boxovertimeoff" id="ovt">
    <span><em id="overtime">Q</em><strong id="moment">3</strong></span>
  </div>

  <div class="box boxfoul boxfoulon" id="foulsignal"></div>
			
  <div class="containertimeouts timeoutshome">
    <div class="box boxtimeouts boxhometimeouts boxon" id="ht1"></div>
    <div class="box boxtimeouts boxhometimeouts boxon" id="ht2"></div>
    <div class="box boxtimeouts boxhometimeouts boxon" id="ht3"></div>
  </div>
			
  <div class="containertimeouts timeoutsaway">
    <div class="box boxtimeouts boxawaytimeouts boxon" id="at1"></div>
    <div class="box boxtimeouts boxawaytimeouts boxon" id="at2"></div>
    <div class="box boxtimeouts boxawaytimeouts boxon" id="at3"></div>
  </div>
</div>
</section>
/* INSTRUCTION and example for customize FOOTBALL scoreboard:
Each element has one or more classes, so you can control one or more elements at the same time.
On the left you can read every single element with his class */

/*--- First step - FONTS: CSS involves embedding fonts at the beginning of the document. You can import and use webfont, for example here we imported a Google font (https://fonts.google.com/) ---*/
@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');

/* Every scoreboard has a unique container (SOCCER = containersoccer / BASKETBALL = containerbasket etc.. read them with your browser inspector). You can use them for override styles */


/*this change font and background colors of Team names */
.boxhometeam, .boxawayteam {
  font-family: 'Bungee', cursive;
  font-size: 1em;
  color: rgba(255,255,255,0.6);;
}

.boxhometeam {
  background: linear-gradient(143deg, rgba(0,56,89,1) 0%, rgba(0,87,160,1) 25%, rgba(0,87,160,1) 75%, rgba(0,56,89,1) 100%);
}
.boxawayteam {
  background: linear-gradient(233deg, rgba(107,0,62,1) 0%, rgba(160,0,93,1) 25%, rgba(160,0,93,1) 75%, rgba(107,0,62,1) 100%);
}

/*this change font and background colors of other elements with some gradients */
.sgrlogo:before, .boxhomepoints, .boxawaypoints, .space, .boxattempts, .boxtimer, .boxmoment {
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(33,33,33,1) 25%, rgba(33,33,33,1) 75%, rgba(0,0,0,1) 100%);
  color: #fff;
}

.boxattempts, .boxtimer, .boxmoment { position:relative;}
.boxattempts:before, .boxtimer:before, .boxmoment:before { 
  content:"";
  position:absolute;
  right:0; 
  height:100%;
  width:.1vw;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 35%, rgba(255,255,255,0.3) 65%, rgba(255,255,255,0) 100%);
}


/*I love yellow but this is a different yellow with some gradients */
.boxfoulon {
  background: linear-gradient(0deg, rgba(222,196,5,1) 0%, rgba(255,224,0,1) 18%, rgba(255,224,0,1) 82%, rgba(199,175,0,1) 100%);
}

.boxon {
  background: #ffe000;
}

/*-------------------------------------------------------------------
---- UNDER: background color and a little spase from margins. PLEASE DO NOT CONSIDER THIS-*/
body {background:#666;}
.containerfootball {margin: 30px 0;}

External CSS

  1. https://www.live.flexyscore.net/dirette/temp/css/football.css

External JavaScript

This Pen doesn't use any external JavaScript resources.