Pen Settings

HTML

CSS

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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div id="tps-org-chart">
    <figure class="clearfix">
        <ul>
            <li class="tps-org-branch-end"><div><a href="#"><span>Shaun Taylor<small>Executive Director</small></span></a></div>
                <ul>
                    <li class="col-lg-2 tps-org-branch-end"><a href="#"><span>Dorothy Kippie<small>Director Technical Operations</small></span></a>
                        <ul>
                            <li><a href="#"><span>Ernest Goody<small>Supervisor Network Support</small></span></a>
                                <ul>
                                    <li><a href="#"><span>Vern Hase<small>Sr. Network Analyst</small></span></a></li>
                                    <li><a href="#"><span>Jeff Fabiani<small>Network Technician</small></span></a></li>
                                    <li><a href="#"><span>Steve Metcalf<small>Network Analyst</small></span></a></li>
                                    <li><a href="#"><span>September Johnson<small>Telecommunication Analyst</small></span></a></li>
                                    <li class="tps-org-branch-end"><a href="#"><span>Network Security Team</small></span></a>
                                        <ul>
                                            <li><a href="#"><span>Danny Korn<small>Network Security Analyst</small></span></a></li>
                                            <li class="tps-org-branch-end"><a href="#"><span>Lance Nelson<small>Network Security Analyst</small></span></a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </li>
                            <li><a href="#"><span>Software Services Team</span></a>
                                <ul>
                                    <li><a href="#"><span>Neil Breedan<small>Sr. Systems Analyst - Lawson</small></span></a></li>
                                    <li><a href="#"><span>David O'Malley<small>Sr. Systems Analyst - Lawson, HR, Payroll, LBI</small></span></a></li>
                                    <li><a href="#"><span>Matthew Dean<small>Sr. Systems Analyst - Lawson, Finance, LBI</small></span></a></li>
                                    <li><a href="#"><span>Rory Diessner<small>Sr. Systems Analyst - SIS</small></span></a></li>
                                    <li class="tps-org-branch-end"><a href="#"><span>Marshall Robinson<small>Systems Analyst - Lawson, Finance, LBI</small></span></a></li>
                                </ul>
                            </li>
                            <li><a href="#"><span>Web Team</span></a>
                                <ul>
                                    <li><a href="#"><span>Kevin Humphrey<small>Web Developer</small></span></a></li>
                                    <li class="tps-org-branch-end"><a href="#"><span>Justin Kuravackal<small>Web Technician</small></span></a></li>
                                </ul>
                            </li>
                            <li class="tps-org-branch-end"><a href="#"><span>Business Intelligence Team</span></a>
                                <ul>
                                    <li><a href="#"><span>Christopher Baidoo-Essien<small>Web Developer</small></span></a></li>
                                    <li><a href="#"><span>John Hohengarten<small>SQL Analyst</small></span></a></li>
                                    <li><a href="#"><span>Douglas Goodart<small>SQL Analyst</small></span></a></li>
                                    <li class="tps-org-branch-end"><a href="#"><span>Reed Grosvenor<small>SQL Analyst</small></span></a></li>
                                </ul>
                            </li>
                        </ul>
                    </li>
                    <li class="col-lg-2 tps-org-branch-end"><a href="#"><span>Dave Davis<small>Director Instructional Technology</small></span></a>
                        <ul>
                            <li><a href="#"><span>Cindy Pantley<small>Instructional Technology Secretary</small></span></a></li>
                            <li><a href="#"><span>Ryan Booth<small>Instructional Facilitator</small></span></a></li>
                            <li><a href="#"><span>Lance Cadena<small>Instructional Facilitator</small></span></a></li>
                            <li><a href="#"><span>Kristie Stanek<small>Instructional Facilitator</small></span></a></li>
                            <li><a href="#"><span>Kim Williams<small>Instructional Facilitator</small></span></a></li>
                            <li><a href="#"><span>May Jenkins<small>PD Secretary</small></span></a></li>
                            <li><a href="#"><span>Teresa Brady<small>Supervisor Field Technicians</small></span></a>
                                <ul>
                                    <li><a href="#"><span>Jeff Edwards<small>Lead Equipment Repair Technician</small></span></a></li>
                                    <li><a href="#"><span>Minh Nguyen<small>Tech Support Specialist</small></span></a></li>
                                    <li><a href="#"><span>Suzanne Herron<small>Technician II</small></span></a></li>
                                    <li><a href="#"><span>Jennifer Keller<small>Technician II</small></span></a></li>
                                    <li><a href="#"><span>Travis Longley<small>Technician II</small></span></a></li>
                                    <li><a href="#"><span>Malcolm McKenna<small>Technician II</small></span></a></li>
                                    <li><a href="#"><span>Judy Nazzaro<small>Technician II</small></span></a></li>
                                    <li><a href="#"><span>Tony Ubaldi<small>Technician II</small></span></a></li>
                                    <li><a href="#"><span>Tim Kohler<small>Technician II</small></span></a></li>
                                    <li class="tps-org-branch-end"><a href="#"><span>Brandon Hall<small>Technician II</small></span></a></li>
                                </ul>
                            </li>
                            <li><a href="#"><span>Kim Williams<small>Project Manager Office 365</small></span></a></li>
                            <li><a href="#"><span>Matthew Barkley<small>Tech Innovation Facilitator</small></span></a></li>
                            <li><a href="#"><span>Damond Crump<small>Tech Innovation Facilitator</small></span></a></li>
                            <li><a href="#"><span>Kris Ilgavizis<small>Tech Innovation Facilitator</small></span></a></li>
                            <li><a href="#"><span>Brandon Cornwell<small>Tech Focus Facilitator</small></span></a></li>
                            <li class="tps-org-branch-end"><a href="#"><span>Library</span></a>
                                <ul>
                                    <li><a href="#"><span>Hannah Gbenro<small>Project Manager Library of the Future (0.5 FTE)</small></span></a></li>
                                    <li><a href="#"><span>Elementary School Librarians<small>(35)</small></span></a></li>
                                    <li><a href="#"><span>Middle School Librarians<small>(9)</small></span></a></li>
                                    <li><a href="#"><span>High School Librarians<small>(8)</small></span></a></li>
                                    <li class="tps-org-branch-end"><a href="#"><span>Library Services</span></a>
                                    	<ul>
                                    		<li><a href="#"><span>Donnie Mitchell<small>...</small></span></a></li>
                                    		<li><a href="#"><span>Laurie Brentin<small>...</small></span></a></li>
                                    		<li class="tps-org-branch-end"><a href="#"><span>[Vacant]<small>...</small></span></a></li>
                                    	</ul>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </li>
                    <li class="col-lg-2 tps-org-branch-end"><a href="#"><span>Glenn Desseau<small>Director Customer Service Center</small></span></a>
                    	<ul>
                    		<li><a href="#"><span>David Cooney<small>Sr. Network Analyst</small></span></a></li>
                    		<li><a href="#"><span>Kegan Hanway<small>SCCM Specialist</small></span></a></li>
                    		<li><a href="#"><span>Zeb Wainwright<small>SCCM Specialist</small></span></a></li>
                    		<li><a href="#"><span>Mo Albermany<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Tony Bertolacci<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Mark Craypo<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Doug Hamerly<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Rebekah Ellis<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Darvina Johnson<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Jeremy Switzer<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Terry Thompson<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Andrew Tripp<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Tom Weaver<small>Technician II</small></span></a></li>
                    		<li><a href="#"><span>Marilyn Kosanovich<small>Instructional Tech Specialist (0.5 FTE)</small></span></a></li>
                    		<li class="tps-org-branch-end"><a href="#"><span>[Vacant]<small>Video Conference Specialist</small></span></a></li>
                    	</ul>
                    </li>
                    <li class="col-lg-2 tps-org-branch-end"><a href="#"><span>Sandra Jacobson<small>Director Student Information Systems</small></span></a>
                    	<ul>
                    		<li><a href="#"><span>Marilyn Kosanovich<small>Instructional Tech Specialist (0.5 FTE)</small></span></a></li>
                    		<li><a href="#"><span>Selesa Atagi<small>Enrollment Specialist</small></span></a></li>
                    		<li class="tps-org-branch-end"><a href="#"><span>Karen Hase<small>SIS Supervisor</small></span></a>
                    			<ul>
		                    		<li><a href="#"><span>Thea Turnley<small>Specialist III</small></span></a></li>
		                    		<li><a href="#"><span>Maria Rivera<small>Specialist III</small></span></a></li>
		                    		<li><a href="#"><span>Alyson Baker<small>Specialist II</small></span></a></li>
		                    		<li><a href="#"><span>Darlene Burk<small>Specialist II</small></span></a></li>
		                    		<li><a href="#"><span>Kim Donner<small>Specialist II</small></span></a></li>
		                    		<li><a href="#"><span>Christi Edick<small>Specialist II</small></span></a></li>
		                    		<li><a href="#"><span>Stephanie Hood<small>Specialist II</small></span></a></li>
		                    		<li class="tps-org-branch-end"><a href="#"><span>Rebecca Howell<small>Specialist II</small></span></a></li>
                    			</ul>
                    		</li>
                    	</ul>
                    </li>
                    <li class="col-lg-2 tps-org-branch-end"><a href="#"><span>Cass Tang<small>Director Project Management Office</small></span></a>
                    	<ul>
                    		<li><a href="#"><span>Brie Copeland<small>Support Representative</small></span></a></li>
                    		<li><a href="#"><span>Cindy Cimaomo<small>Project Manager K12 Projects</small></span></a></li>
                    		<li><a href="#"><span>Mike Hoal<small>Project Manager MyTime &amp; K12 Projects</small></span></a></li>
                    		<li><a href="#"><span>Mindy McDaniels<small>Project Manager Summer School &amp; K12 Projects</small></span></a></li>
                            <li><a href="#"><span>Hannah Gbenro<small>Project Manager Assessment (0.5 FTE)</small></span></a></li>
                    		<li class="tps-org-branch-end"><a href="#"><span>Project Leads<small>From other departments</small></span></a></li>
                    	</ul>
                    </li>
                    <li class="col-lg-2 tps-org-branch-end"><a href="#"><span>Susan Walters<small>Budget Accounting Technician</small></span></a></li>
                </ul>
            </li>
        </ul>
    </figure>
</div>

              
            
!

CSS

              
                
/* TEMP 
***************************************************************************************************/
body{
  font-family:"open sans", sans-serif;
}
/**************************************************************************************************/

/*                                                                  88
                                                                    88
                                                                    88
 ,adPPYb,d8  ,adPPYba, 8b,dPPYba,   ,adPPYba, 8b,dPPYba, ,adPPYYba, 88
a8"    `Y88 a8P_____88 88P'   `"8a a8P_____88 88P'   "Y8 ""     `Y8 88
8b       88 8PP""""""" 88       88 8PP""""""" 88         ,adPPPPP88 88
"8a,   ,d88 "8b,   ,aa 88       88 "8b,   ,aa 88         88,    ,88 88
 `"YbbdP"Y8  `"Ybbd8"' 88       88  `"Ybbd8"' 88         `"8bbdP"Y8 88
 aa,    ,88
  "Y8bbd*/

#tps-org-chart{
  background:#fff;
  padding:20px 20px 40px 20px;
  margin-bottom:2em;
}
figure ul,
figure ul li,
figure ul li a{
  position:relative;
}
figure ul{
  padding: 0;
  margin: 0;
  list-style: none;   
}
figure ul li{
  padding:10px 0;
}
figure ul li a{
  display: block;
  border: 4px solid;
  text-align: center;
  color:#fff;
  font-weight:bold;
  font-size: .8em;
  height: 80px;
  overflow: hidden;
}
figure ul li a:hover{
  color:#fff;
  text-decoration:none;
}
figure ul li a > span{
  display:block;
  min-height:100%;
  padding-top:20px;
  overflow:hidden;
  transition:all ease .4s;
  text-shadow:rgba(0,0,0,0.5) 1px 1px 1px;
}
figure ul > li a:hover > span{
  background:#222;
}
figure small{
  display:block;
  font-weight:normal;
}


/* 
88                                   88
88                                   88
88                                   88
88  ,adPPYba, 8b       d8  ,adPPYba, 88 ,adPPYba,
88 a8P_____88 `8b     d8' a8P_____88 88 I8[    ""
88 8PP"""""""  `8b   d8'  8PP""""""" 88  `"Y8ba,
88 "8b,   ,aa   `8b,d8'   "8b,   ,aa 88 aa    ]8I
88  `"Ybbd8"'     "8"      `"Ybbd8"' 88 `"YbbdP"'  */

/* Level 1 
-------------------------------------------------*/
figure > ul > li > div > a{
  width:20%;
  margin:0 auto 15px auto;
}
figure > ul > li > div:after{
  content:"";
  width:calc(50%);
  height:25px;
  margin:0 auto;
  position:absolute;
  border-left:4px solid;
  top:90px;
  left:calc(50% - 2px);
  display:block;
  z-index:0;
}

/* Level 2 
-------------------------------------------------*/
figure > ul > li > ul:after{ /* horizontal line connecting boxes under head honcho (and vertical lines on the far left and right) */
  content:"";
  width:calc(100% - 30px - 248px + 4px);
  height:20px;
  margin:0 auto;
  position:absolute;
  border:4px solid;
  border-bottom:none;
  top:10px;
  left:calc(15px + 124px - 2px);
  display:block;
  z-index:0;
}
figure > ul > li > ul > li{
  z-index:1;
}
figure > ul > li > ul > li:first-of-type:before,
figure > ul > li > ul > li:last-of-type:before{ /* hiding vertical lines on the far left and right */
  border-left:transparent;
}
figure > ul > li > ul > li:before{ /* vertical lines connecting boxes to horizontal line under head honcho */
  content:"";
  border-left:4px solid;
  position:relative;
  display:block;
  min-height:20px;
  margin-left:calc(50% - 2px);
}

/* Level 3 
-------------------------------------------------*/
figure > ul > li > ul > li > ul{ /* vertical line connecting boxes under a director (level 2) */
  border-left: 4px solid;
}
figure > ul > li > ul > li > ul > li{ /* horizontal line connect level 3 boxes to vertical line under director (level 2) */
  border-top: 4px solid;
  top:50px;
}
figure ul > li > ul > li > ul > li > a{ /* level 3 boxes and below... */
  right:-30px;
  top:-50px;
  width:calc(100% - 30px);
}

/* Level 4 
-------------------------------------------------*/
figure > ul > li ul > li > ul > li > ul{ /* vertical line connecting boxes under a level 3 box */
  border-left: 4px solid;
  right:-30px;
  top:-50px;
  width:calc(100% - 30px);
  padding-top: 10px;
}
figure ul > li > ul > li > ul > li.tps-org-branch-end{ /* hiding the bottom section of the vertical line above */
  border-left: 4px solid #fff;
  right:4px;
  width:calc(100% + 4px);
}
figure ul > li > ul > li > ul > li > ul > li{ /* horizontal line connect level 4 boxes to vertical line under level 3 box */
  border-top: 4px solid;
  top:50px;
}




/*
  ,ad88PPP88ba,                                         88 88
 d8"  .ama.a "8a                                        88 ""
d8'  ,8P"88"  88                                        88
88  .8P  8P   88 88,dPYba,,adPYba,   ,adPPYba,  ,adPPYb,88 88 ,adPPYYba,
88  88   8'   8P 88P'   "88"    "8a a8P_____88 a8"    `Y88 88 ""     `Y8
88  8B ,d8 ,ad8' 88      88      88 8PP""""""" 8b       88 88 ,adPPPPP88
"8a "88P"888P"   88      88      88 "8b,   ,aa "8a,   ,d88 88 88,    ,88
 `Y8aaaaaaaad8P  88      88      88  `"Ybbd8"'  `"8bbdP"Y8 88 `"8bbdP"Y8
    """""""""
*/
@media all and (max-width: 1200px){
  figure > ul > li > div > a{
    width:100%;
    margin:0 auto;
  }
  figure > ul > li > ul{ /* vertical line under head honcho (level 1) */
    border-left: 4px solid;
  }
  figure > ul > li > ul > li{ /* horizontal line connecting level 2 boxes to vertical line under head honcho (level 1) */
    border-top: 4px solid;
    top:50px;
  }
  figure > ul > li > div:after,
  figure > ul > li > ul:after,
  figure > ul > li > ul > li:first-of-type:before,
  figure > ul > li > ul > li:last-of-type:before,
  figure > ul > li > ul > li:before{
    display: none;
  }
  figure > ul > li > ul > li.col-lg-2{
    padding-right:0;
    padding-left:30px;
  }
  figure > ul > li > ul > li > a,
  figure > ul > li > ul > li > ul{
    top:-50px;
  }
  figure ul > li > ul > li.tps-org-branch-end:last-of-type{ /* hiding the bottom section of the vertical line above */
    border-left: 4px solid #fff;
    right:4px;
    width:calc(100% + 4px);
  }

}

/*                     88
                       88
                       88
 ,adPPYba,  ,adPPYba,  88  ,adPPYba,  8b,dPPYba, ,adPPYba,
a8"     "" a8"     "8a 88 a8"     "8a 88P'   "Y8 I8[    ""
8b         8b       d8 88 8b       d8 88          `"Y8ba,
"8a,   ,aa "8a,   ,a8" 88 "8a,   ,a8" 88         aa    ]8I
 `"Ybbd8"'  `"YbbdP"'  88  `"YbbdP"'  88         `"YbbdP"'  */

/* Line color 
-------------------------------------------------*/
figure ul li a,
figure > ul > li > ul,
figure > ul > li > ul:after,
figure > ul > li > div:after,
figure > ul > li > ul > li,
figure > ul > li > ul > li:before,
figure > ul > li > ul > li > ul,              
figure > ul > li > ul > li > ul > li,         
figure > ul > li ul > li > ul > li > ul,      
figure ul > li > ul > li > ul > li > ul > li{ 
  border-color: #bbb;
}

/* Background color 
-------------------------------------------------*/
#tps-org-chart,
figure ul > li > ul > li > ul > li.tps-org-branch-end{
  background: #fff;
}
/* Box colors by column 
-------------------------------------------------*/
figure ul li a{ background:#858587;} /* level 1 and default box color */
figure > ul > li > ul > li:nth-of-type(1) a{  background:#00a6de; }
figure > ul > li > ul > li:nth-of-type(1) a:hover{ color:#00a6de; }
figure > ul > li > ul > li:nth-of-type(2) a{  background:#66d43d; }
figure > ul > li > ul > li:nth-of-type(2) a:hover{ color:#66d43d; }
figure > ul > li > ul > li:nth-of-type(3) a{  background:#f7a30a; }
figure > ul > li > ul > li:nth-of-type(3) a:hover{ color:#f7a30a; }
figure > ul > li > ul > li:nth-of-type(4) a{  background:#8c42ad; }
figure > ul > li > ul > li:nth-of-type(4) a:hover{ color:#bf75df; }/* 3 steps lighter */
figure > ul > li > ul > li:nth-of-type(5) a{  background:#de5433; }
figure > ul > li > ul > li:nth-of-type(5) a:hover{ color:#ef6544; }/* 1 step lighter */
/*figure > ul > li > ul > li:nth-of-type(6) a{  background:#00b0ab; }
figure > ul > li > ul > li:nth-of-type(6) a:hover{ color:#00b0ab; }*/

/* Darken each level 
-------------------------------------------------*/
figure > ul > li > ul > li > a > span{
  background:rgba(0,0,0,0);
}
figure > ul > li > ul > li > ul > li > a > span{
  background:rgba(0,0,0,0.2);
}
figure > ul > li > ul > li > ul > li > ul > li > a > span{
  background:rgba(0,0,0,0.4);
}
figure > ul > li > ul > li > ul > li > ul > li > ul > li > a > span{
  background:rgba(0,0,0,0.6);
}

              
            
!

JS

              
                
              
            
!
999px

Console