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


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


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.


                <!-- может ересь.. но задумал как то так - сделать всё ссылкой и подключить скрипт для отображения цифры :с -->
<!DOCTYPE html>
<html lang="ru">
    <meta  charset="utf-8" />
<!-- <link rel="stylesheet" href="style.css" type="text/css" /> -->

    <div class="main" align="center">
<!-- непонятно-забавно что IE не хочет отображать "main" по центру окна, при помощи моих css... Атрибут align загадачно излечил "праблемку" --> 
        <a class="yandex" href="" title="Яндекс">
            <div class="cont">
                <img class="label" src="" alt="Яндекс" />
                <div id="counter"><!-- <script src="counter.js" async></script> --></div>
    <div class="footer">
        <a href="" target="_blank" title="Репетитор по скайпу"><img class="alpha" src="" alt="" /></a>



                .main {
    width: 297px;
    margin: 0 auto;
.cont, #counter {
    display: flex;
    justify-content: center;
    align-items: center;
.cont {
    width: 295px; height: 99px;
    background-color: white;
    border: 1px solid #b4b4b4;
    border-radius: 5px;
#counter {
    position: relative;
    width: 29px; height: 33px;
    left: 83px; margin-left: -36px;  
    border-radius: 5px;
    border: 1px solid gray;
    background-color: #ececec;
.yandex {
    text-decoration: none;
    font-family: sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    color: gray;
.label {
    width: 168px; height: 70px;
.footer {
    width: 335px;
    margin: -5px auto;
    display: block;
    text-align: right;
/* ...мдя, неожиданно интересная штуковина получилась */


var digit = 6;	
document.querySelector('#counter').textContent = digit;

/* конечно полный нуль в js.. но работает, Карл!
правда неказистость картинки в IE убивает :с
решение - использовать svg вместо png.. или ювелирно шаманить с картинкой - (возьму на заметку) */