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


!!!!------ REMEMBER --------!!!!
on Flexyscore 
YOU WILL NOT BE ABLE TO MODIFY HTML PART! -->
<section id="boxes">
<div class="container containertennis">
  <div class="sgrlogo" style="background: url(https://www.live.flexyscore.net/logofs.svg) no-repeat center;"></div>
  <div class="label labelpoints">Pt</div>
  <div class="label labelgames">Gm</div>
  <div class="box boxhometeam" id="team_1">First Player</div>
  <div class="box numbers boxhomepoints" id="points_1">30</div>
  <div class="box numbers boxhomegames" id="game_1">2</div>
  <div class="box boxawayteam" id="team_2">Second Player</div>
  <div class="box numbers boxawaypoints" id="points_2">15</div>
  <div class="box numbers boxawaygames" id="game_2">1</div>
  <div class="box boxservice boxhomeservice"><span id="homeservice"></span></div>
  <div class="box boxservice boxawayservice"><span id="awayservice" class="okservice"></span></div>
  <div class="box boxset boxon" id="set_1_points_1">6</div>
  <div class="box boxset boxon" id="set_1_points_2">1</div>
  <div class="box boxset boxon" id="set_2_points_1">4</div>
  <div class="box boxset boxon" id="set_2_points_2">6</div>
  <div class="box boxset boxon" id="set_3_points_1">6</div>
  <div class="box boxset boxon" id="set_3_points_2">3</div>
  <div class="box boxset boxon" id="set_4_points_1">3</div>
  <div class="box boxset boxon" id="set_4_points_2">6</div>
  <div class="box boxset boxon" id="set_5_points_1">6</div>
  <div class="box boxset boxon" id="set_5_points_2">1</div>
</div>
</section>
/* INSTRUCTION and example for customize TENNIS 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 */

/* THIS control the size of all caracters, use vw units for mantein responsive layout */
.containertennis {
  font-size: 6vw;
}

/* THIS insert a Big Bold Ball in service signal */
.containertennis .okservice {
  background: url(https://www.flexyscore.net/folder/tennisball.svg);
  transform: translate(-50%, -50%) scale(2);
}

.box, .label, .sgrlogo:before {
  background: #3d9f00;
  color: #194200;
}
.boxset {
  border-left: solid 2px #dec405;
}

.labelgames, .boxhomegames, .boxawaygames {
  background: #51d200;
  color: #d24b00;
}

.labelpoints, .boxhomepoints, .boxawaypoints {
  color: #FCD600;
}

.boxhometeam, .boxawayteam {
  background: #296c00;
  color: #FCD600;
}


/*-------------------------------------------------------------------
---- UNDER: background color and a little spase from margins. PLEASE DO NOT CONSIDER THIS-*/
body {background:#333;}

External CSS

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

External JavaScript

This Pen doesn't use any external JavaScript resources.