RESPONSIVE SCREENS
How do I make an responsive screens?
YOUR WIDTH OF SCREEN WITH SOME EXPRESSIVES TEXTS. What is a responsive screens? How do you make a responsive screens? This script and codes were developed by Julien Lepoivre on 02 October 2022, Sunday.
RESPONSIVE SCREENS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>RESPONSIVE SCREENS</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h2></h2>
<a href='#' class="arrow left"></a>
<a href='#' class="arrow right"></a>
<!-- JavaScript -->
<p> <span id="jsWidth">0</span>px <!--<span id="jsHeight">0</span>-->
</p>
<br/> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
RESPONSIVE SCREENS - Script Codes CSS Codes
body{ text-align:center; font-size:55px; padding-top:50px;
}
.arrow{ position:absolute; top:50%; margin-top:-50px; }
.arrow.left{ left:35%; clip:rect(-30px, 48px, 130px, -23px); }
.arrow.right{ right:35%; clip:rect(-40px, 123px, 130px, 50px); }
.arrow::before{ content:''; display:block; padding:50px; box-shadow:0 0 0 2px #DFA0B5 inset; cursor:pointer; -webkit-transform:rotate(-45deg); transform:rotate(-45deg); transition:.3s; }
.arrow:hover::before{ box-shadow:0 0 0 4px #FFF inset; }
/* Basic page reset for this demo
--------------------------------------*/
html{ height:100%; font-family: 'Roboto Condensed'; }
body{ min-height:100%; background:radial-gradient(#D65C86, #993455); background:-webkit-radial-gradient(#D65C86, #993455); }
*{ margin:0; padding:0; }
#jsWidth{ text-align:center; color:white;
}
h2:before{ font-size:24px; top:0px; position: ; text-align:center; content:'petite est votre fenetre';
}
/* Large screens ----------- */
@media only screen
and (min-width : 320px) {
h2:before{content:'iPhone';}
}
/* Large screens ----------- */
@media only screen
and (min-width : 600px) {
h2:before{content:'MOYEN';}
}
/* Large screens ----------- */
@media only screen
and (min-width : 800px) {
h2:before{content:'THE TRADITIONNAL';}
}
/* Large screens ----------- */
@media only screen
and (min-width : 960px) {
h2:before{content:'VGA';}
}
/* Large screens ----------- */
@media only screen
and (min-width : 1280px) {
h2:before{content:'HD READY';}
}
/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
h2:before{content:'large';}
}
/* Large screens ----------- */
@media only screen
and (min-width : 1920px) {
h2:before{content:'FULL HD !!!';}
}
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}
RESPONSIVE SCREENS - Script Codes JS Codes
// JavaScript
function jsUpdateSize(){ // Get the dimensions of the viewport var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; document.getElementById('jsWidth').innerHTML = width; document.getElementById('jsHeight').innerHTML = height;
};
window.onload = jsUpdateSize; // When the page first loads
window.onresize = jsUpdateSize; // When the browser changes size
/*// jQuery
function jqUpdateSize(){ // Get the dimensions of the viewport var width = $(window).width(); var height = $(window).height(); $('#jqWidth').html(width); $('#jqHeight').html(height);
};
$(document).ready(jqUpdateSize); // When the page first loads
$(window).resize(jqUpdateSize); // When the browser changes size
*/
![RESPONSIVE SCREENS - Script Codes](http://shots.codepen.io/BigPepper/pen/xhCsk-512.jpg)
Developer | Julien Lepoivre |
Username | BigPepper |
Uploaded | October 02, 2022 |
Rating | 3 |
Size | 2,675 Kb |
Views | 24,288 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A Pen by Julien Lepoivre | 2,479 Kb |
Reactive Background | 1,765 Kb |
Pure CSS Facebook IOS ICON | 2,367 Kb |
CSS3 Working Clock | 4,462 Kb |
Realtime Delaunay Triangulation | 5,846 Kb |
BIGPEPPER THEME WIP | 7,229 Kb |
Made For Codepen | 1,475 Kb |
Hello Pepper Plane | 4,265 Kb |
Biru framework ready | 18,739 Kb |
Tweet embed | 1,706 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Polygon Logo in CSS | Kai | 3,412 Kb |
Twitch.tv API | Ryzokuken | 2,618 Kb |
Loading animation - freedom purchase | Rocbear | 2,567 Kb |
CSS Letter animations | Sladix | 2,116 Kb |
Ghost | Mghayour | 11,738 Kb |
Tic Tac Toe | Volv | 4,862 Kb |
About Mazano | Kiti | 2,585 Kb |
Codero Sitemap | S1m0ne | 28,169 Kb |
Scroll using CSS | Casperovic | 2,159 Kb |
Twitch API | Coderpilot | 3,412 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!