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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <div class="container" ng-app="ProfPressApp" ng-controller="PostCtrl">
        <small>the blog platform for academics</small></h1>
	<h2>Latest posts</h2>
	<div class="posts">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">Just Build Websites</h3>
			<div class="panel-body">
				<p>Good advice for beginning web designers: <a href="">Just Build Websites</a>
			<div class="panel-footer">Posted by Prof Proferson on January 27</div>
		<div class="panel panel-default" ng-repeat="post in posts">
			<div class="panel-heading">
				<h3 class="panel-title">{{post.title}}</h3>
			<div class="panel-body">
			<div class="panel-footer">Posted by {{}} on {{}}</div>
	<h2>New Post</h2>
	<div class="post-form well">
			<li>Come up with an idea</li>
			<li>Write it up using this form</li>
			<li>Share your idea with the academic community and become famous</li>
			<div class="form-group form-group-lg">
				<label for="post-title" class="control-label">Title</label>
				<input type="text" class="form-control input-lg" id="post-title" placeholder="Enter a title" ng-model="post.title">
			<div class="form-group form-group-lg">
				<label for="post-text" class="control-label" rows="10">Post</label>
				<textarea class="form-control" id="post-text" ng-model="post.text" placeholder="Enter your post" rows="5"></textarea>
			<div class="form-group form-group-lg">
				<label for="post-author" class="control-label">Author</label>
				<input type="text" class="form-control input-lg" id="post-author" placeholder="Enter author name" ng-model="">
			<button type="submit" class="btn btn-primary btn-lg" ng-click="add()">Post it!</button>
		<img src="" alt="The University of Texas at Austin" class="logo" />
              @import url(;
html {
    background: url( no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
body {
    background: none;
header {
    margin: 40px 0 60px;
h1 {
    font-family: Lobster;
    color: #bf5700;
    font-size: 5em;
h1 small {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    color: #555;
    font-weight: 200;
h2 {
    text-transform: uppercase;
    color: #005F86;
    font-weight: 100;
    margin-top: 50px;
    margin-bottom: 20px;
h3.panel-title {
    font-size: 2em;
    font-weight: 200;
    color: #F5F4F0;
.panel-footer {
    text-align: right;
    color: #bf5700;
    font-style: italic;
.container {
    margin: 30px auto;
    padding: 0 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, .5);
footer {
    text-align: center;
img.logo {
    width: 180px;
    height: 79px;
.posts .panel {
    margin-bottom: 40px;
.panel-default {
    border-color: #bf5700
.panel-default>.panel-heading {
    background-color: #bf5700;
    color: #fff;
    border-color: #bf5700;
.panel-default>.panel-footer {
    border-top-color: #bf5700;
    background-color: #F5F4F0;
#post-text {
    min-height: 100px;
footer {
    margin: 40px 0;
.well {
    border-color: #bf5700;
    background-color: #F5F4F0;
    box-shadow: none;

              var profPressApp = angular.module('ProfPressApp', []);

profPressApp.controller('PostCtrl', function($scope) {
	$scope.posts = [];

	$scope.add = function() {
		var today = new Date();
		var dd = today.getDate();
		var mm = today.getMonth();
		var monthNames = ["January", "February", "March", "April", "May", "June",
			"July", "August", "September", "October", "November", "December"
		$ = monthNames[mm] + ' ' + dd;
		$ = {};
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.