HTML
CSS
Result
Skip Results Iframe
EDIT ON
Live
Live
This Pen is owned by
Nihar Bheemanathi
on
CodePen
.
See more by @nbheemanathi on CodePen
External CSS
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css
https://fonts.googleapis.com/icon?family=Material+Icons
External JavaScript
https://code.jquery.com/jquery-3.1.1.slim.min.js
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js
{"__browser":{"country":"US","device":"unknown_device","mobile":false,"name":"unknown browser","platform":"unknown_platform","version":"0"},"__constants":{},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"accelerometer *; ambient-light-sensor *; camera *; display-capture *; encrypted-media *; geolocation *; gyroscope *; microphone *; midi *; payment *; vr *; web-share *; serial *; xr-spatial-tracking *","iframe_sandbox":"allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups-to-escape-sandbox allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation"},"__graphql":{"data":{"errors":[{"message":"Cannot return null for non-nullable field Query.sessionUser"}],"data":null},"url":"https://codepen.io/graphql","api":"cprails"},"__pay_stripe_public_key":"pk_live_2GndomDfiklqpSNQn8FrGuwZSMIMzha7DkLJqlYe7IR0ihKAlKdiHg68JJc5eVPt68rzAjzAAVXcUwjySHRCsgjQQ00gtRBUFNH","__pay_braintree_env":"production","__boomboom":{"serve_url":"https://cdpn.io/cpe/boomboom","store_url":"https://codepen.io/cpe/boomboom/store"},"__pageType":"embed","__item":"{\"editor_settings\":{\"auto_run\":true,\"autocomplete\":false,\"code_folding\":true,\"css_pre_processor\":\"none\",\"css_prefix\":\"neither\",\"css_starter\":\"neither\",\"emmet_active\":true,\"font_size\":14,\"font_type\":\"system\",\"format_on_save\":false,\"html_pre_processor\":\"none\",\"indent_with\":\"spaces\",\"js_pre_processor\":\"none\",\"key_bindings\":\"normal\",\"line_numbers\":true,\"line_wrapping\":true,\"match_brackets\":true,\"snippets\":{\"markupSnippets\":{},\"stylesheetSnippets\":{}},\"tab_size\":2,\"theme\":\"twilight\",\"id\":\"pwGvRp\",\"auto_save\":true},\"hashid\":\"pwGvRp\",\"itemType\":\"pen\",\"resources\":[{\"url\":\"https://code.jquery.com/jquery-3.1.1.slim.min.js\",\"order\":0,\"resource_type\":\"js\",\"par_content\":\"\"},{\"url\":\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js\",\"order\":1,\"resource_type\":\"js\",\"par_content\":\"\"},{\"url\":\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css\",\"order\":1,\"resource_type\":\"css\",\"par_content\":\"\"},{\"url\":\"https://fonts.googleapis.com/icon?family=Material+Icons\",\"order\":2,\"resource_type\":\"css\",\"par_content\":\"\"}],\"tags\":[\"bootstrap\",\"cards\",\"animation\",\"hover\",\"transition\"],\"id\":16389797,\"user_id\":1218567,\"html\":\"<div class=\\\"container-fluid\\\"> \\n <div class=\\\"card-deck mt-5\\\">\\n <div class=\\\"card\\\">\\n <div class=\\\"card-block\\\">\\n <h4 class=\\\"card-title text-right icon\\\"><i class=\\\"material-icons\\\">settings</i></h4>\\n <img src=\\\"https://static.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg\\\">\\n <h4 class=\\\"card-title mt-2\\\">Card 1</h4>\\n <p class=\\\"card-text\\\">Hello Card 1, Nice to see you</p> \\n </div> \\n </div>\\n <div class=\\\"card\\\">\\n <div class=\\\"card-block\\\">\\n <h4 class=\\\"card-title text-right icon\\\"><i class=\\\"material-icons\\\" data-toggle=\\\"modal\\\" data-target=\\\"#flipflop\\\">settings</i></h4>\\n <img src=\\\"https://static.pexels.com/photos/115045/pexels-photo-115045.jpeg\\\">\\n <h4 class=\\\"card-title mt-2\\\">Card 2</h4>\\n <p class=\\\"card-text\\\">Hello Card 2, Nice to see you</p> \\n </div>\\n </div>\\n <div class=\\\"card\\\">\\n <div class=\\\"card-block\\\">\\n <h4 class=\\\"card-title text-right icon\\\"><i class=\\\"material-icons\\\" data-toggle=\\\"modal\\\" data-target=\\\"#card-3\\\">settings</i></h4>\\n <img src=\\\"https://static.pexels.com/photos/306803/pexels-photo-306803.jpeg\\\">\\n <h4 class=\\\"card-title mt-2\\\">Card 3</h4>\\n <p class=\\\"card-text\\\">Hello Card 3, Nice to see you, you should look bigger than the card 1 and card 2. please <strong class=\\\"animated-text\\\">click on cog icon</strong> for form modal</p>\\n </div>\\n </div>\\n <div class=\\\"card\\\">\\n <div class=\\\"card-block\\\">\\n <h4 class=\\\"card-title text-right icon\\\"><i class=\\\"material-icons\\\">settings</i></h4>\\n <img src=\\\"https://static.pexels.com/photos/115045/pexels-photo-115045.jpeg\\\">\\n <h4 class=\\\"card-title mt-2\\\">Card 4</h4>\\n <p class=\\\"card-text\\\">Hello Card 4, Nice to see you</p> \\n </div>\\n </div>\\n <div class=\\\"card\\\">\\n <div class=\\\"card-block\\\">\\n <h4 class=\\\"card-title text-right icon\\\"><i class=\\\"material-icons\\\">settings</i></h4>\\n <img src=\\\"https://static.pexels.com/photos/306803/pexels-photo-306803.jpeg\\\">\\n <h4 class=\\\"card-title mt-2\\\">Card 5</h4>\\n <p class=\\\"card-text\\\">Hello Card 5, Nice to see you, you should look bigger than the card 1 and card 2. please improve</p>\\n </div>\\n </div>\\n \\n </div>\\n</div>\\n<div class=\\\"modal animated bounceInLeft\\\" id=\\\"card-3\\\" tabindex=\\\"-1\\\" role=\\\"dialog\\\" arialabelledby=\\\"modallabelsmall\\\" aria-hidden=\\\"true\\\">\\n <div class=\\\"modal-dialog modal-lg\\\" role=\\\"document\\\">\\n <div class=\\\"modal-content\\\">\\n <div class=\\\"modal-header\\\">\\n <h6 class=\\\"modal-title\\\">Create Organization</h6>\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"modal\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\" class=\\\"close\\\">×</span>\\n </button>\\n </div> \\n <div class=\\\"modal-body\\\">\\n <form>\\n <div class=\\\"container-fluid\\\">\\n <div class=\\\"row\\\"> \\n <div class=\\\"col-lg-10 col-md-12\\\">\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"first_name\\\" class=\\\"col-3 col-form-label\\\">Name</label>\\n <div class=\\\"col-9\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"first_name\\\" name=\\\"first_name\\\">\\n </div>\\n </div>\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"alias\\\" class=\\\"col-3 col-form-label\\\">Alias</label>\\n <div class=\\\"col-9\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"org_type\\\" name=\\\"org_type\\\">\\n </div>\\n </div>\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"org_type\\\" class=\\\"col-3 col-form-label\\\">Type</label>\\n <div class=\\\"col-9\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"org_type\\\" name=\\\"org_type\\\">\\n </div>\\n </div> \\n </div>\\n <div class=\\\"col-2 modal-logo hidden-md-down\\\">\\n <img src=\\\"https://static.pexels.com/photos/306803/pexels-photo-306803.jpeg\\\">\\n <div class=\\\"ovrly\\\"></div>\\n <div class=\\\"img-buttons\\\">\\n <a role=\\\"button\\\"><i class=\\\"material-icons\\\">file_upload</i></a>\\n <a role=\\\"button\\\"><i class=\\\"material-icons\\\">delete_forever</i></a> \\n </div>\\n </div>\\n </div>\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"description\\\" class=\\\"col-2 col-form-label\\\">Description</label>\\n <div class=\\\"col-9 ml-5\\\">\\n <textarea class=\\\"form-control\\\" id=\\\"description\\\" rows=\\\"3\\\"></textarea>\\n </div>\\n </div> \\n <div class=\\\"form-group row\\\">\\n <label for=\\\"address1\\\" class=\\\"col-2 col-form-label\\\">Address</label>\\n <div class=\\\"col-9 ml-5\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"address1\\\" name=\\\"address1\\\">\\n </div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-8 col-xs-12\\\">\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"address2\\\" class=\\\"col-3 col-form-label\\\">Address 2</label>\\n <div class=\\\"col-7 ml-lg-5\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"address2\\\" name=\\\"address2\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"col-md-4 col-xs-12\\\">\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"city\\\" class=\\\"col-md-4 col-sm-3 col-form-label text-lg-right\\\">City</label>\\n <div class=\\\"col-7\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"city\\\" name=\\\"city\\\">\\n </div>\\n </div>\\n </div>\\n \\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-8 col-xs-12\\\">\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"State\\\" class=\\\"col-3 col-form-label\\\">State</label>\\n <div class=\\\"col-7 ml-lg-5\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"State\\\" name=\\\"State\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"col-md-4 col-xs-12\\\">\\n <div class=\\\"form-group row\\\">\\n <label for=\\\"zipcode\\\" class=\\\"col-md-4 col-sm-3 col-form-label text-lg-right\\\">Zip</label>\\n <div class=\\\"col-7\\\">\\n <input type=\\\"text\\\" class=\\\"form-control\\\" id=\\\"zipcode\\\" name=\\\"zipcode\\\">\\n </div>\\n </div>\\n </div>\\n \\n </div>\\n </div>\\n </form>\\n </div>\\n <div class=\\\"modal-footer\\\"> \\n <button class=\\\"btn btn-primary save\\\">SAVE</button>\\n </div>\\n </div>\\n </div>\\n</div>\\n\\n\",\"css\":\"img{\\n height:200px;\\n width:100%;\\n}\\n.icon i{\\n font-size:20px;\\n color:#ffa710;\\n cursor:pointer;\\n transition:all .4s ease-in;\\n}\\n.card{\\n cursor:pointer;\\n transition:all .4s ease-in-out;\\n}\\n.card:hover{\\n transform:scale(1.05);\\n box-shadow:10px 10px 10px #888888;\\n}\\n.icon i:hover{\\n transform:scale(1.25) rotate(100deg);\\n color:#18d4ca;\\n}\\n\\n.close{\\n color:#ffa710;\\n opacity:1;\\n}\\n.modal-lg{\\n max-width:1200px;\\n}\\n.save{\\n background-color: #667df3;\\n font-size:14px;\\n}\\n.form-control::placeholder{\\n/* font-size:14px; */\\n opacity:.5;\\n}\\n.modal-logo img{\\n width:100%;\\n height:150px\\n}\\n.col-form-label{\\n font-weight:500;\\n}\\n.ovrly {\\n position: absolute;\\n background: rgba(0, 0, 0, 0.5);\\n height:150px;\\n left: 1;\\n top: 0;\\n width: 85%;\\n opacity: 0;\\n -webkit-transition: all 0.3s;\\n -moz-transition: all 0.3s;\\n -o-transition: all 0.3s;\\n transition: all 0.3s;\\n }\\n .modal-logo:hover .ovrly {\\n opacity: 1;\\n }\\n.img-buttons {\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n -webkit-transform: translate(-50%, -50%);\\n -moz-transform: translate(-50%, -50%);\\n -ms-transform: translate(-50%, -50%);\\n -o-transform: translate(-50%, -50%);\\n transform: translate(-50%, -50%);\\n}\\n.img-buttons .material-icons{\\n opacity: 0;\\n color: rgba(50, 50, 50, 0.9);\\n background: rgb(256, 256, 256);\\n font-size: 30px;\\n text-align: center;\\n text-decoration: none;\\n border-radius: 50%;\\n}\\n.modal-logo:hover .img-buttons .material-icons{\\n opacity: 1;\\n }\\n/* MODAL ANIMATION */\\n\\n@keyframes bounce {\\n from, 20%, 53%, 80%, to {\\n animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\\n transform: translate3d(0,0,0);\\n }\\n\\n 40%, 43% {\\n animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);\\n transform: translate3d(0, -30px, 0);\\n }\\n\\n 70% {\\n animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);\\n transform: translate3d(0, -15px, 0);\\n }\\n\\n 90% {\\n transform: translate3d(0,-4px,0);\\n }\\n}\\n\\n\\n.animated {\\n animation-duration: 1s;\\n animation-fill-mode: both;\\n}\\n.bounce {\\n animation-name: bounce;\\n transform-origin: center bottom;\\n}\\n@keyframes bounceInLeft {\\n from, 60%, 75%, 90%, to {\\n animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\\n }\\n\\n 0% {\\n opacity: 0;\\n transform: translate3d(-3000px, 0, 0);\\n }\\n\\n 60% {\\n opacity: 1;\\n transform: translate3d(25px, 0, 0);\\n }\\n\\n 75% {\\n transform: translate3d(-10px, 0, 0);\\n }\\n\\n 90% {\\n transform: translate3d(5px, 0, 0); \\n }\\n\\n to {\\n transform: none;\\n }\\n}\\n\\n.bounceInLeft {\\n animation-name: bounceInLeft;\\n}\\n\\n/* animated text */\\n.animated-text{\\n animation: changefontcolor 2s ease-in-out infinite;\\n}\\n@keyframes changefontcolor {\\n 0%{\\n color:black;\\n }\\n 50%{\\n color:red;\\n }\\n 100%{\\n color:purple;\\n }\\n}\",\"js\":\"\",\"html_pre_processor\":\"none\",\"css_pre_processor\":\"none\",\"js_pre_processor\":\"none\",\"html_classes\":\"\",\"css_starter\":\"neither\",\"js_library\":null,\"created_at\":\"2017-07-12T21:10:28.000Z\",\"updated_at\":\"2017-07-14T21:11:13.000Z\",\"title\":\"bootstrap card deck with animated modal \",\"description\":\"\",\"slug_hash\":\"pwGvRp\",\"head\":\"\",\"private\":false,\"has_animation\":true,\"team_id\":0,\"css_prefix\":\"neither\",\"template\":false,\"parent_id\":0,\"comments_count\":0,\"custom_screenshot_filename\":null,\"loves_count\":0,\"pick\":false,\"popularity_score\":0,\"views_count\":0,\"pick_visible_at\":null,\"cpid\":\"015d38a3-89a0-79d3-8a0b-b0c4fdf29f72\",\"is_new_editor_pen\":false,\"protected\":false,\"access\":\"Public\",\"pen_hash\":null}","__processorsMap":{"autoprefixer":"autoprefixer-10","babel":"babel-7","coffeescript":"coffeescript-2","format-1":"format-1","flutter":"flutter-1","haml":"haml-4","less":"less-3","lint-1":"lint-1","livescript":"livescript-1","markdown":"markdown-11","postcss":"postcss-7","pug":"pug-2","sass":"sass-1","scss":"sass-1","sass-ruby-3":"sass-ruby-3","sass-ruby-compass-3":"sass-ruby-compass-3","slim":"slim-3","stylus":"stylus-0","typescript":"typescript-4","vue":"vue-2","vue3":"vue-3"},"__favicon_mask_icon":"https://cpwebassets.codepen.io/assets/favicon/logo-pin-b4b4269c16397ad2f0f7a01bcdf513a1994f4c94b8af2f191c09eb0d601762b1.svg","__favicon_shortcut_icon":"https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico","__path_to_iframe_console_runner":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeConsoleRunner-6d8bf8b4b479137260842506acbb12717dace0823c023e08b96360e60b0840d9.js","__path_to_iframe_refresh_css":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRefreshCSS-44fe83e49b63affec96918c9af88c0d80b209a862cf87ac46bc933074b8c557d.js","__path_to_iframe_runtime_errors":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRuntimeErrors-4f205f2c14e769b448bcf477de2938c681660d5038bc464e3700256713ebe261.js","__path_to_processor_worker":"https://cpwebassets.codepen.io/assets/packs/router.js","__path_to_stop_execution_on_timeout":"https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js","__pen_normalize_css_url":"https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css","__pen_prefix_free_url":"https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js","__pen_reset_css_url":"https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css","__path_to_infinite_loop_detection":"https://cpwebassets.codepen.io/assets/packs/js/infiniteLoopDetection-a869f8a6d2782490df0d.js"}