Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


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

!!!!------ REMEMBER --------!!!!
on Flexyscore 
<section id="boxes">
<div class="container containerfootball">
  <div class="sgrlogo" style="background: url( 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 class="box boxmoment boxovertimeoff" id="ovt">
    <span><em id="overtime">Q</em><strong id="moment">3</strong></span>

  <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 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>


                /* 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 ( ---*/
@import url('');

/* 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 { 
  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;}