Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Popup RESTRICTED AREA
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="GageDodd" data-source="post: 369720" data-attributes="member: 52705"><p>Well the title pretty much explains what this is lets go ahead and get into the post!</p><p>[SPOILER="Screenshot"]</p><p><a href="http://prntscr.com/aekp9e" target="_blank">http://prntscr.com/aekp9e</a></p><p>[/SPOILER]</p><p>There is also a little motion involed! </p><p>[SPOILER="Codes"]</p><p>HTML</p><p>[HTML]<div class="cont_principal"></p><p> <div class="cont_bgc_modal"></div></p><p> <div class="cont_modal"></p><p> <div class="cont_circulo_prohibido"></p><p> <div class="cont_raya_divisor"></div></p><p> <div class="cont_form_modal"></p><p> <div class="cont_logo_restrigido"></p><p> <div class="cont_circulo_logo"></p><p> <div class="con_raya_logo"></div></p><p> </div></p><p> </div></p><p> <div class="po_relative"></p><p> <h1>RESTRICTED AREA</h1></p><p> <p>You need an authorisation do see this content.</p></p><p> <p>If you dont have one, go back to the homepage</p></p><p> </div></p><p> <div class="cont_input_password"></p><p> <p>Type your password to continue</p></p><p> <input type="password" class="input_password_" value="" placeholder="********" style="" /></p><p> </div></p><p> <div class="cont_btn"></p><p> <button class="btn_proceed">PROCEED <span>&#10141;</span></p><p></button></p><p> </div></p><p> </div></p><p> </div></p><p></p><p> </div></p><p></p><p></div>[/HTML]</p><p>CSS</p><p>[HTML]* {</p><p> margin: 0px auto;</p><p> padding: 0px;</p><p>text-aling:center;</p><p>}</p><p> .cont_principal {</p><p> width: 100%;</p><p> height: 100%;</p><p> position: absolute;</p><p> background-color: #DEDEDE;</p><p> }</p><p> </p><p> .cont_bgc_modal {</p><p> width: 100%;</p><p>height: 100%;</p><p>position: fixed;</p><p>background-color: #F24541;</p><p>z-index: 0;</p><p>top:0px;</p><p>opacity: 0;</p><p>background-color: #F24541;</p><p>transition: all 0.2s;</p><p>display: none;</p><p>}</p><p></p><p>.cont_bgc_modal_activo{</p><p>opacity: 1; </p><p>}</p><p></p><p>.cont_modal {</p><p>position: fixed;</p><p> z-index: 10;</p><p>top:50%;</p><p>width: 600px;</p><p>height: 600px;</p><p> left:50%;</p><p> margin-top: -300px;</p><p> margin-left: -300px;</p><p>display: none;</p><p>}</p><p></p><p>.cont_modal_activo {</p><p>display: block; </p><p>}</p><p></p><p>.cont_modal > .cont_circulo_prohibido {</p><p> width: 500px;</p><p> height: 500px;</p><p> background-color: #DEDEDE;</p><p> border-radius:50%;</p><p> border:50px solid #F24541;</p><p>transform: scale(0);</p><p>}</p><p></p><p>.cont_modal_activo > .cont_circulo_prohibido {</p><p> transform: scale(1);</p><p> transition: all 0.5s;</p><p>transition-delay: 0.5s;</p><p>}</p><p></p><p>.cont_raya_divisor {</p><p> position: relative;</p><p> width: 100px;</p><p> height: 100%;</p><p> background-color: #F24541;</p><p> transform: rotate(45deg);</p><p> z-index: 10;</p><p>}</p><p></p><p></p><p>.cont_modal >.cont_circulo_prohibido > .cont_form_modal {</p><p> width: 350px;</p><p> height: 400px;</p><p>background-color: #212121;</p><p>position: absolute;</p><p>z-index: 1003;</p><p>top: 50%;</p><p> left:50%;</p><p> margin-top: -200px;</p><p> margin-left: -175px;</p><p>box-shadow: 1px 15px 30px -10px rgba(0,0,0,0.5);</p><p>border-radius:5px;</p><p></p><p>transform: scale(0);</p><p>}</p><p>.cont_modal_activo > .cont_circulo_prohibido >.cont_form_modal {</p><p> transform: scale(1);</p><p>transition: all 0.5s;</p><p> transition-delay: 1s;</p><p>}</p><p>.cont_logo_restrigido {</p><p> position: relative;</p><p> float: left;</p><p>width: 100%;</p><p>margin-top:30px;</p><p>}</p><p></p><p>.cont_circulo_logo {</p><p> width: 50px;</p><p> height: 50px;</p><p>border-radius:50%;</p><p>border:10px solid #F24541;</p><p>}</p><p></p><p>.con_raya_logo {</p><p> width: 10px;</p><p> height: 53px;</p><p>background-color: #F24541; </p><p>transform: rotate(45deg);</p><p>}</p><p></p><p>.po_relative {</p><p> position: relative;</p><p>float: left;</p><p> width: 100%;</p><p>margin-top:30px; </p><p>text-align:center;</p><p>color: #fff;</p><p>font-family: Arial;</p><p>}</p><p>.po_relative > h1 {</p><p> font-size: 22px;</p><p>}</p><p></p><p>.po_relative > p {</p><p> font-size: 14px;</p><p>}</p><p></p><p></p><p>.cont_input_password {</p><p>position: relative;</p><p>float: left;</p><p> width: 350px;</p><p>height: 100px;</p><p>background: rgba(254,96,93,1);</p><p>background: -moz-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%);</p><p>background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(254,96,93,1)), color-stop(74%, rgba(242,67,65,1)), color-stop(100%, rgba(242,67,65,1)));</p><p>background: -webkit-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%);</p><p>background: -o-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%);</p><p>background: -ms-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%);</p><p>background: linear-gradient(to bottom, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%);</p><p>filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe605d', endColorstr='#f24341', GradientType=0 );</p><p>margin-top: 20px;</p><p>left: 0px;</p><p>color: #fff;</p><p>text-align: center;</p><p>font-family: Arial;</p><p>box-shadow: 1px 1px 20px -5px rgba(0,0,0,0.5);</p><p> border-radius:3px;</p><p>transition: all 0.5s;</p><p>transition-delay: 1.3s;</p><p>}</p><p></p><p>.cont_modal_activo > .cont_circulo_prohibido > .cont_form_modal > .cont_input_password {</p><p> width: 400px;</p><p> left: -25px;</p><p>}</p><p></p><p>.cont_input_password >p {</p><p> margin-top: 15px;</p><p>}</p><p></p><p>.input_password_ {</p><p> padding: 7px 0px;</p><p>width: 100%;</p><p> background-color: transparent;</p><p>border:none;</p><p> outline: none;</p><p>color: #fff;</p><p>text-align: center;</p><p>font-family: Arial;</p><p>font-size: 45px;</p><p>}</p><p></p><p>.input_password_::-webkit-input-placeholder {</p><p> color: #fff;</p><p>}</p><p>.input_password_:-moz-placeholder {</p><p> color: #fff;</p><p>}</p><p>.input_password_::-moz-placeholder {</p><p> color: #fff;</p><p>}</p><p>.input_password_:-ms-input-placeholder {</p><p> color: #fff;</p><p>}</p><p></p><p></p><p></p><p>.cont_btn {</p><p>position: relative;</p><p>float: left;</p><p> width: 100%;</p><p> margin-top: 20px;</p><p>}</p><p></p><p>.btn_proceed {</p><p> background-color: transparent;</p><p>border-radius:20px;</p><p> padding: 10px;</p><p>border:2px solid #F24541; </p><p>margin: 0px auto;</p><p> display: block;</p><p> text-align: center;</p><p> font-size: 16px;</p><p>color: #fff;</p><p>padding-left: 20px;</p><p>padding-right: 20px;</p><p> transition: all 0.5s;</p><p>cursor: pointer;</p><p>}</p><p></p><p>.btn_proceed:hover {</p><p>background-color: #fff;</p><p> color: #F24541;</p><p>}</p><p>[/HTML]</p><p>JS</p><p>[HTML]window.onload = function() {</p><p> limit_acces();</p><p>}</p><p></p><p>function limit_acces() {</p><p></p><p> document.querySelector('.cont_bgc_modal').style.display = "block";</p><p> document.querySelector('.cont_modal').style.display = "block";</p><p> setTimeout(function() {</p><p> document.querySelector('.cont_bgc_modal').className = "cont_bgc_modal cont_bgc_modal_activo";</p><p> document.querySelector('.cont_modal').className = "cont_modal cont_modal_activo";</p><p></p><p> }, 100);</p><p></p><p>}[/HTML]</p><p>[/SPOILER]</p><p>Thanks for checking this out i hope you enjoy it!</p></blockquote><p></p>
[QUOTE="GageDodd, post: 369720, member: 52705"] Well the title pretty much explains what this is lets go ahead and get into the post! [SPOILER="Screenshot"] [URL]http://prntscr.com/aekp9e[/URL] [/SPOILER] There is also a little motion involed! [SPOILER="Codes"] HTML [HTML]<div class="cont_principal"> <div class="cont_bgc_modal"></div> <div class="cont_modal"> <div class="cont_circulo_prohibido"> <div class="cont_raya_divisor"></div> <div class="cont_form_modal"> <div class="cont_logo_restrigido"> <div class="cont_circulo_logo"> <div class="con_raya_logo"></div> </div> </div> <div class="po_relative"> <h1>RESTRICTED AREA</h1> <p>You need an authorisation do see this content.</p> <p>If you dont have one, go back to the homepage</p> </div> <div class="cont_input_password"> <p>Type your password to continue</p> <input type="password" class="input_password_" value="" placeholder="********" style="" /> </div> <div class="cont_btn"> <button class="btn_proceed">PROCEED <span>➝</span> </button> </div> </div> </div> </div> </div>[/HTML] CSS [HTML]* { margin: 0px auto; padding: 0px; text-aling:center; } .cont_principal { width: 100%; height: 100%; position: absolute; background-color: #DEDEDE; } .cont_bgc_modal { width: 100%; height: 100%; position: fixed; background-color: #F24541; z-index: 0; top:0px; opacity: 0; background-color: #F24541; transition: all 0.2s; display: none; } .cont_bgc_modal_activo{ opacity: 1; } .cont_modal { position: fixed; z-index: 10; top:50%; width: 600px; height: 600px; left:50%; margin-top: -300px; margin-left: -300px; display: none; } .cont_modal_activo { display: block; } .cont_modal > .cont_circulo_prohibido { width: 500px; height: 500px; background-color: #DEDEDE; border-radius:50%; border:50px solid #F24541; transform: scale(0); } .cont_modal_activo > .cont_circulo_prohibido { transform: scale(1); transition: all 0.5s; transition-delay: 0.5s; } .cont_raya_divisor { position: relative; width: 100px; height: 100%; background-color: #F24541; transform: rotate(45deg); z-index: 10; } .cont_modal >.cont_circulo_prohibido > .cont_form_modal { width: 350px; height: 400px; background-color: #212121; position: absolute; z-index: 1003; top: 50%; left:50%; margin-top: -200px; margin-left: -175px; box-shadow: 1px 15px 30px -10px rgba(0,0,0,0.5); border-radius:5px; transform: scale(0); } .cont_modal_activo > .cont_circulo_prohibido >.cont_form_modal { transform: scale(1); transition: all 0.5s; transition-delay: 1s; } .cont_logo_restrigido { position: relative; float: left; width: 100%; margin-top:30px; } .cont_circulo_logo { width: 50px; height: 50px; border-radius:50%; border:10px solid #F24541; } .con_raya_logo { width: 10px; height: 53px; background-color: #F24541; transform: rotate(45deg); } .po_relative { position: relative; float: left; width: 100%; margin-top:30px; text-align:center; color: #fff; font-family: Arial; } .po_relative > h1 { font-size: 22px; } .po_relative > p { font-size: 14px; } .cont_input_password { position: relative; float: left; width: 350px; height: 100px; background: rgba(254,96,93,1); background: -moz-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(254,96,93,1)), color-stop(74%, rgba(242,67,65,1)), color-stop(100%, rgba(242,67,65,1))); background: -webkit-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%); background: -o-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%); background: -ms-linear-gradient(top, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%); background: linear-gradient(to bottom, rgba(254,96,93,1) 0%, rgba(242,67,65,1) 74%, rgba(242,67,65,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe605d', endColorstr='#f24341', GradientType=0 ); margin-top: 20px; left: 0px; color: #fff; text-align: center; font-family: Arial; box-shadow: 1px 1px 20px -5px rgba(0,0,0,0.5); border-radius:3px; transition: all 0.5s; transition-delay: 1.3s; } .cont_modal_activo > .cont_circulo_prohibido > .cont_form_modal > .cont_input_password { width: 400px; left: -25px; } .cont_input_password >p { margin-top: 15px; } .input_password_ { padding: 7px 0px; width: 100%; background-color: transparent; border:none; outline: none; color: #fff; text-align: center; font-family: Arial; font-size: 45px; } .input_password_::-webkit-input-placeholder { color: #fff; } .input_password_:-moz-placeholder { color: #fff; } .input_password_::-moz-placeholder { color: #fff; } .input_password_:-ms-input-placeholder { color: #fff; } .cont_btn { position: relative; float: left; width: 100%; margin-top: 20px; } .btn_proceed { background-color: transparent; border-radius:20px; padding: 10px; border:2px solid #F24541; margin: 0px auto; display: block; text-align: center; font-size: 16px; color: #fff; padding-left: 20px; padding-right: 20px; transition: all 0.5s; cursor: pointer; } .btn_proceed:hover { background-color: #fff; color: #F24541; } [/HTML] JS [HTML]window.onload = function() { limit_acces(); } function limit_acces() { document.querySelector('.cont_bgc_modal').style.display = "block"; document.querySelector('.cont_modal').style.display = "block"; setTimeout(function() { document.querySelector('.cont_bgc_modal').className = "cont_bgc_modal cont_bgc_modal_activo"; document.querySelector('.cont_modal').className = "cont_modal cont_modal_activo"; }, 100); }[/HTML] [/SPOILER] Thanks for checking this out i hope you enjoy it! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Popup RESTRICTED AREA
Top