cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

              <div class="menu"><input type="checkbox" id="piu">
<label for="piu"><b>Вид сбоку</b></label>
<input name="whiteOrTransparent" class="WorT" type="radio" value="white" id="white" checked> <label for="white">Белая пленка</label>
<input name="whiteOrTransparent" class="WorT" type="radio" value="transparent" id="transparent"> <label for="transparent">Прозрачная пленка</label>
<div class="maket">
<div id="maketFilm">

  <span id="colorFilm"></span><span id="shadowColorFilm"></span>
              .maket {
  position: relative;
  width: 550px;
  height: 400px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  border: 1px solid white;
  border-radius: 5px;
  -webkit-perspective: 900px;
  perspective: 900px;
  z-index: 1;

#maketFilm {
  background-color: white;
  background: url(https://kapu.cat/img/Logo9.png) repeat;
  background-size: auto;
  position: absolute;
  text-align: center;
  vertical-align: middle;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  width: 350px;
  height: 350px;
  margin-top: -175px;
  margin-left: -175px;
  left: 50%;
  top: 50%;
  -webkit-perspective: 900px;
  perspective: 900px;
  transform-style: preserve-3d;
  transition-property: all;
  transition-duration: 1s;
  z-index: 2;

#maketFilm:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0px;
  height: 0px;
  border-bottom: 101px solid rgba(255, 255, 255, 0);
  border-left: 101px solid rgba(255, 255, 255, 1);

.legat {
  -webkit-transform: rotateY(60deg) rotateX(70deg);
  transform: rotateY(60deg) rotateX(70deg);

#colorFilm {
  background: url(https://kapu.cat/img/Logo9.png) repeat;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0px;
  height: 0px;
  border-bottom: 100px solid rgba(255, 255, 255, 1);
  border-left: 100px solid #f0f0f0;
  -webkit-transform: rotateX(206deg) rotateY(24deg) rotateZ(85deg);
  transform: rotateX(206deg) rotateY(24deg) rotateZ(85deg);
  -webkit-transform-origin: 50% 50% 0;
  transform-origin: 50% 50% 0;
  z-index: 3;

#shadowColorFilm {
  background: transparent;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100px;
  height: 100px;
  border: none;
  background: linear-gradient(to top left, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
  z-index: 2;
              $('#piu').click(function() { //чекбокс
  if ($(this).is(':checked')) {
  } else {
var colorMath;
$('.WorT').click(function() {
  colorMath = $('input[name=whiteOrTransparent]:checked').val();
  if (colorMath == 'transparent') {
    $('#invertPrint').attr('disabled', false);
    $('#colorFilm').css('border-left', '100px solid rgba(196,196,196,0.5)');
  } else if (colorMath == 'white') {
    $('#invertPrint').attr('disabled', true);
    $('#colorFilm').css('border-left', '100px solid #f0f0f0');
🕑 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.
Loading ..................