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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

Template

Make Template?

Templates are Pens that can be used to start other Pens. You can view all of your templates, or learn more in the documentation.

Screenshot

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

Uploading

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

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.

HTML

            
              <div class="container" ng-app="AboApp">
<h3>NOS ABONNEMENTS</h3>
    <div class="row db-padding-btm db-attached" ng-controller="AboCtrl">
        <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4" ng-repeat="abos in abo">
            <div class="db-wrapper" ng-click="zone()">
                <div class="db-pricing-eleven db-bk-color-two" select-me="areaStatus">
                    <div ng-class="{'price' : !areaStatus, 'price pop' : areaStatus}">
                        {{abos.tarif}}<sup>€</sup>
                        <small>par mois</small>
                    </div>
                    <div class="type">
                        {{abos.nom}}
                    </div>
                    <ul>
                        <li><i class="icon-ok"></i>{{abos.communication}}</li>
                        <li><i class="icon-ok"></i>{{abos.vers}}</li>
                        <li><i class="icon-ok"></i>{{abos.zone}}</li>
                    </ul>
                    <div class="pricing-footer" ng-show="areaStatus">
                        <a href="#" class="btn db-button-color-square btn-lg">VALIDER</a>
                    </div>
                </div>


            </div>
            
          
!

CSS

            
              @import url("https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,700italic,700,500&subset=latin,latin-ext");

body {
    background-color: #ecf0f1;

}
/*
input[type="radio"]{
    display:none;
}*/
/*.abo-h{
    margin-left:15px;
}*/
/*.row{
    width: 900px;
    margin: 0 auto;
}*/
/*=============================================================
    Authour URL: www.designbootstrap.com

    http://www.designbootstrap.com/

    License: MIT
========================================================  */

/*============================================================
BACKGROUND COLORS
============================================================*/
.db-bk-color-one {
    background-color: #f55039;
}

.db-wrapper{
    cursor:pointer;

}

.db-bk-color-two {
    background-color: #46A6F7;
}

.db-bk-color-three {
    background-color: #47887E;
}

.db-bk-color-six {
    background-color: #F59B24;
}
/*============================================================
PRICING STYLES
==========================================================*/
.db-padding-btm {
    padding-bottom: 0px;
}
.db-button-color-square {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.50);
    border: none;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
}

.db-button-color-square:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.50);
    border: none;
}


.db-pricing-eleven {
    transition-duration: 0.7s;
    margin-bottom: 20px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    color: #fff;
    line-height: 10px;
}

.db-pricing-eleven ul {
    list-style: none;
    margin: 0;
    text-align: center;
    padding-left: 0px;
}

.db-pricing-eleven ul li {
    padding-top: 20px;
    padding-bottom: 20px;
    cursor: pointer;
}

.db-pricing-eleven ul li i {
    margin-right: 5px;
}


.db-pricing-eleven .price {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px 20px 20px 20px;
    font-size: 60px;
    font-weight: 900;
    color: #FFFFFF;
}

.db-pricing-eleven .price small {
    color: #B8B8B8;
    display: block;
    font-size: 12px;
    margin-top: 22px;
}

.db-pricing-eleven .type {
    background-color: #52E89E;
    padding: 30px 10px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 30px;
}
.db-pricing-eleven .type.small {

    font-size: 15px;
}

.db-pricing-eleven .pricing-footer {
    padding: 20px;
}

.db-attached > .col-lg-4,
.db-attached > .col-lg-3,
.db-attached > .col-md-4,
.db-attached > .col-md-3,
.db-attached > .col-sm-4,
.db-attached > .col-sm-3 {
    padding-left: 0;
    padding-right: 0;
}

.db-pricing-eleven.popular {
    transition-duration: 0.5s;
    margin-top: 10px;
}

.price.pop {
    transition-duration: 0.5s;
    padding-top: 80px;

}

/*TRANSITION*/

.trans{
    transition: 1s linear all;
}

.c4{
    border: 2px green;
}

/*shitty*/

.glyphicon { margin-right:5px; }
.thumbnail
{
    margin-bottom: 20px;
    padding: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.item.list-group-item
{
    float: none;
    width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
}
.item.list-group-item:nth-of-type(odd):hover,.item.list-group-item:hover
{
    background: #428bca;
}

.item.list-group-item .list-group-image
{
    margin-right: 10px;
}
.item.list-group-item .thumbnail
{
    margin-bottom: 0px;
}
.item.list-group-item .caption
{
    padding: 9px 9px 0px 9px;
}
.item.list-group-item:nth-of-type(odd)
{
    background: #eeeeee;
}

.item.list-group-item:before, .item.list-group-item:after
{
    display: table;
    content: " ";
}

.item.list-group-item img
{
    float: left;
}
.item.list-group-item:after
{
    clear: both;
}
.list-group-item-text
{
    margin: 0 0 11px;
}
.marger{
    width: 1000px;
    margin:0 auto 0 auto;
    padding:0;
}
.titlephone{
    text-align:center;
}
.pricecenter{
    margin-bottom:20px;
    text-align:center;
}
            
          
!

JS

            
              var app = angular.module("AboApp", []);

app.controller("AboCtrl", function($scope) {
            $scope.abo = [
                {
                    "id": 1,
                    "nom": "BAS PRIX",
                    "tarif": "2.49",
                    "communication": "2h de communication",
                    "vers": "vers fixes et mobiles",
                    "zone": "zone nationale"
                },
                {
                    "id": 2,
                    "nom": "NATIONAL",
                    "tarif": "9.99",
                    "communication": "t\u00e9l\u00e9phonie et SMS illimit\u00e9s",
                    "vers": "vers fixes et mobiles",
                    "zone": "zone nationale"
                },
                {
                    "id": 3,
                    "nom": "EURO",
                    "tarif": "19.99",
                    "communication": "t\u00e9l\u00e9phonie et SMS illimit\u00e9s",
                    "vers": "vers fixes et mobiles",
                    "zone": "zone EURO"
                }
            ];
        
    $scope.areaStatus = false;
    $scope.zone = function() {
        $scope.areaStatus = !$scope.areaStatus;
    }
});
app.directive("selectMe", function($animate) {
    return function(scope, element, attrs) {
        scope.$watch(attrs.selectMe, function(newVal) {
            if (newVal) {
                $animate.addClass(element, "popular")
            } else {
                $animate.removeClass(element, "popular")
            }
        })
    }
});

app.controller("OptionsCtrl", function($scope, $http) {
    $http.get('http://local.tel4g/options.json').
        success(function(data) {
            $scope.options = data['data'];
        });
    $scope.areaStatus = false;
});

app.controller("PhonesCtrl", function($scope, $http) {
    $http.get('http://local.tel4g/phones.json').
        success(function(data) {
            $scope.phones = data['data'];
        });
    $scope.areaStatus = false;
});



            
          
!
999px

Console