├── README.md ├── css ├── bootstrap.css ├── pe-icon-7-stroke.css └── rotating-card.css ├── genezio.yaml ├── images ├── rotating_card_profile.png ├── rotating_card_profile2.png ├── rotating_card_profile3.png ├── rotating_card_thumb.jpg ├── rotating_card_thumb.png ├── rotating_card_thumb2.png ├── rotating_card_thumb3.png └── tim_logo.png ├── index.html ├── js ├── bootstrap.min.js └── jquery-1.10.2.js └── rotating-card.html /README.md: -------------------------------------------------------------------------------- 1 | # rotating-card 2 | 3 | ## Deploy 4 | 5 | :rocket: You can deploy your own version of the template to Genezio with one click: 6 | 7 | [![Deploy to Genezio](https://raw.githubusercontent.com/Genez-io/graphics/main/svg/deploy-button.svg)](https://app.genez.io/start/deploy?repository=https://github.com/creativetimofficial/rotating-css-card&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head) -------------------------------------------------------------------------------- /css/pe-icon-7-stroke.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Pe-icon-7-stroke'; 3 | src:url('../fonts/Pe-icon-7-stroke.eot?-2irksn'); 4 | src:url('../fonts/Pe-icon-7-stroke.eot?#iefix-2irksn') format('embedded-opentype'), 5 | url('../fonts/Pe-icon-7-stroke.woff?-2irksn') format('woff'), 6 | url('../fonts/Pe-icon-7-stroke.ttf?-2irksn') format('truetype'), 7 | url('../fonts/Pe-icon-7-stroke.svg?-2irksn#Pe-icon-7-stroke') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | [class^="pe-7s-"], [class*=" pe-7s-"] { 13 | display: inline-block; 14 | font-family: 'Pe-icon-7-stroke'; 15 | speak: none; 16 | font-style: normal; 17 | font-weight: normal; 18 | font-variant: normal; 19 | text-transform: none; 20 | line-height: 1; 21 | 22 | /* Better Font Rendering =========== */ 23 | -webkit-font-smoothing: antialiased; 24 | -moz-osx-font-smoothing: grayscale; 25 | } 26 | 27 | .pe-7s-cloud-upload:before { 28 | content: "\e68a"; 29 | } 30 | .pe-7s-cash:before { 31 | content: "\e68c"; 32 | } 33 | .pe-7s-close:before { 34 | content: "\e680"; 35 | } 36 | .pe-7s-bluetooth:before { 37 | content: "\e68d"; 38 | } 39 | .pe-7s-cloud-download:before { 40 | content: "\e68b"; 41 | } 42 | .pe-7s-way:before { 43 | content: "\e68e"; 44 | } 45 | .pe-7s-close-circle:before { 46 | content: "\e681"; 47 | } 48 | .pe-7s-id:before { 49 | content: "\e68f"; 50 | } 51 | .pe-7s-angle-up:before { 52 | content: "\e682"; 53 | } 54 | .pe-7s-wristwatch:before { 55 | content: "\e690"; 56 | } 57 | .pe-7s-angle-up-circle:before { 58 | content: "\e683"; 59 | } 60 | .pe-7s-world:before { 61 | content: "\e691"; 62 | } 63 | .pe-7s-angle-right:before { 64 | content: "\e684"; 65 | } 66 | .pe-7s-volume:before { 67 | content: "\e692"; 68 | } 69 | .pe-7s-angle-right-circle:before { 70 | content: "\e685"; 71 | } 72 | .pe-7s-users:before { 73 | content: "\e693"; 74 | } 75 | .pe-7s-angle-left:before { 76 | content: "\e686"; 77 | } 78 | .pe-7s-user-female:before { 79 | content: "\e694"; 80 | } 81 | .pe-7s-angle-left-circle:before { 82 | content: "\e687"; 83 | } 84 | .pe-7s-up-arrow:before { 85 | content: "\e695"; 86 | } 87 | .pe-7s-angle-down:before { 88 | content: "\e688"; 89 | } 90 | .pe-7s-switch:before { 91 | content: "\e696"; 92 | } 93 | .pe-7s-angle-down-circle:before { 94 | content: "\e689"; 95 | } 96 | .pe-7s-scissors:before { 97 | content: "\e697"; 98 | } 99 | .pe-7s-wallet:before { 100 | content: "\e600"; 101 | } 102 | .pe-7s-safe:before { 103 | content: "\e698"; 104 | } 105 | .pe-7s-volume2:before { 106 | content: "\e601"; 107 | } 108 | .pe-7s-volume1:before { 109 | content: "\e602"; 110 | } 111 | .pe-7s-voicemail:before { 112 | content: "\e603"; 113 | } 114 | .pe-7s-video:before { 115 | content: "\e604"; 116 | } 117 | .pe-7s-user:before { 118 | content: "\e605"; 119 | } 120 | .pe-7s-upload:before { 121 | content: "\e606"; 122 | } 123 | .pe-7s-unlock:before { 124 | content: "\e607"; 125 | } 126 | .pe-7s-umbrella:before { 127 | content: "\e608"; 128 | } 129 | .pe-7s-trash:before { 130 | content: "\e609"; 131 | } 132 | .pe-7s-tools:before { 133 | content: "\e60a"; 134 | } 135 | .pe-7s-timer:before { 136 | content: "\e60b"; 137 | } 138 | .pe-7s-ticket:before { 139 | content: "\e60c"; 140 | } 141 | .pe-7s-target:before { 142 | content: "\e60d"; 143 | } 144 | .pe-7s-sun:before { 145 | content: "\e60e"; 146 | } 147 | .pe-7s-study:before { 148 | content: "\e60f"; 149 | } 150 | .pe-7s-stopwatch:before { 151 | content: "\e610"; 152 | } 153 | .pe-7s-star:before { 154 | content: "\e611"; 155 | } 156 | .pe-7s-speaker:before { 157 | content: "\e612"; 158 | } 159 | .pe-7s-signal:before { 160 | content: "\e613"; 161 | } 162 | .pe-7s-shuffle:before { 163 | content: "\e614"; 164 | } 165 | .pe-7s-shopbag:before { 166 | content: "\e615"; 167 | } 168 | .pe-7s-share:before { 169 | content: "\e616"; 170 | } 171 | .pe-7s-server:before { 172 | content: "\e617"; 173 | } 174 | .pe-7s-search:before { 175 | content: "\e618"; 176 | } 177 | .pe-7s-film:before { 178 | content: "\e6a5"; 179 | } 180 | .pe-7s-science:before { 181 | content: "\e619"; 182 | } 183 | .pe-7s-disk:before { 184 | content: "\e6a6"; 185 | } 186 | .pe-7s-ribbon:before { 187 | content: "\e61a"; 188 | } 189 | .pe-7s-repeat:before { 190 | content: "\e61b"; 191 | } 192 | .pe-7s-refresh:before { 193 | content: "\e61c"; 194 | } 195 | .pe-7s-add-user:before { 196 | content: "\e6a9"; 197 | } 198 | .pe-7s-refresh-cloud:before { 199 | content: "\e61d"; 200 | } 201 | .pe-7s-paperclip:before { 202 | content: "\e69c"; 203 | } 204 | .pe-7s-radio:before { 205 | content: "\e61e"; 206 | } 207 | .pe-7s-note2:before { 208 | content: "\e69d"; 209 | } 210 | .pe-7s-print:before { 211 | content: "\e61f"; 212 | } 213 | .pe-7s-network:before { 214 | content: "\e69e"; 215 | } 216 | .pe-7s-prev:before { 217 | content: "\e620"; 218 | } 219 | .pe-7s-mute:before { 220 | content: "\e69f"; 221 | } 222 | .pe-7s-power:before { 223 | content: "\e621"; 224 | } 225 | .pe-7s-medal:before { 226 | content: "\e6a0"; 227 | } 228 | .pe-7s-portfolio:before { 229 | content: "\e622"; 230 | } 231 | .pe-7s-like2:before { 232 | content: "\e6a1"; 233 | } 234 | .pe-7s-plus:before { 235 | content: "\e623"; 236 | } 237 | .pe-7s-left-arrow:before { 238 | content: "\e6a2"; 239 | } 240 | .pe-7s-play:before { 241 | content: "\e624"; 242 | } 243 | .pe-7s-key:before { 244 | content: "\e6a3"; 245 | } 246 | .pe-7s-plane:before { 247 | content: "\e625"; 248 | } 249 | .pe-7s-joy:before { 250 | content: "\e6a4"; 251 | } 252 | .pe-7s-photo-gallery:before { 253 | content: "\e626"; 254 | } 255 | .pe-7s-pin:before { 256 | content: "\e69b"; 257 | } 258 | .pe-7s-phone:before { 259 | content: "\e627"; 260 | } 261 | .pe-7s-plug:before { 262 | content: "\e69a"; 263 | } 264 | .pe-7s-pen:before { 265 | content: "\e628"; 266 | } 267 | .pe-7s-right-arrow:before { 268 | content: "\e699"; 269 | } 270 | .pe-7s-paper-plane:before { 271 | content: "\e629"; 272 | } 273 | .pe-7s-delete-user:before { 274 | content: "\e6a7"; 275 | } 276 | .pe-7s-paint:before { 277 | content: "\e62a"; 278 | } 279 | .pe-7s-bottom-arrow:before { 280 | content: "\e6a8"; 281 | } 282 | .pe-7s-notebook:before { 283 | content: "\e62b"; 284 | } 285 | .pe-7s-note:before { 286 | content: "\e62c"; 287 | } 288 | .pe-7s-next:before { 289 | content: "\e62d"; 290 | } 291 | .pe-7s-news-paper:before { 292 | content: "\e62e"; 293 | } 294 | .pe-7s-musiclist:before { 295 | content: "\e62f"; 296 | } 297 | .pe-7s-music:before { 298 | content: "\e630"; 299 | } 300 | .pe-7s-mouse:before { 301 | content: "\e631"; 302 | } 303 | .pe-7s-more:before { 304 | content: "\e632"; 305 | } 306 | .pe-7s-moon:before { 307 | content: "\e633"; 308 | } 309 | .pe-7s-monitor:before { 310 | content: "\e634"; 311 | } 312 | .pe-7s-micro:before { 313 | content: "\e635"; 314 | } 315 | .pe-7s-menu:before { 316 | content: "\e636"; 317 | } 318 | .pe-7s-map:before { 319 | content: "\e637"; 320 | } 321 | .pe-7s-map-marker:before { 322 | content: "\e638"; 323 | } 324 | .pe-7s-mail:before { 325 | content: "\e639"; 326 | } 327 | .pe-7s-mail-open:before { 328 | content: "\e63a"; 329 | } 330 | .pe-7s-mail-open-file:before { 331 | content: "\e63b"; 332 | } 333 | .pe-7s-magnet:before { 334 | content: "\e63c"; 335 | } 336 | .pe-7s-loop:before { 337 | content: "\e63d"; 338 | } 339 | .pe-7s-look:before { 340 | content: "\e63e"; 341 | } 342 | .pe-7s-lock:before { 343 | content: "\e63f"; 344 | } 345 | .pe-7s-lintern:before { 346 | content: "\e640"; 347 | } 348 | .pe-7s-link:before { 349 | content: "\e641"; 350 | } 351 | .pe-7s-like:before { 352 | content: "\e642"; 353 | } 354 | .pe-7s-light:before { 355 | content: "\e643"; 356 | } 357 | .pe-7s-less:before { 358 | content: "\e644"; 359 | } 360 | .pe-7s-keypad:before { 361 | content: "\e645"; 362 | } 363 | .pe-7s-junk:before { 364 | content: "\e646"; 365 | } 366 | .pe-7s-info:before { 367 | content: "\e647"; 368 | } 369 | .pe-7s-home:before { 370 | content: "\e648"; 371 | } 372 | .pe-7s-help2:before { 373 | content: "\e649"; 374 | } 375 | .pe-7s-help1:before { 376 | content: "\e64a"; 377 | } 378 | .pe-7s-graph3:before { 379 | content: "\e64b"; 380 | } 381 | .pe-7s-graph2:before { 382 | content: "\e64c"; 383 | } 384 | .pe-7s-graph1:before { 385 | content: "\e64d"; 386 | } 387 | .pe-7s-graph:before { 388 | content: "\e64e"; 389 | } 390 | .pe-7s-global:before { 391 | content: "\e64f"; 392 | } 393 | .pe-7s-gleam:before { 394 | content: "\e650"; 395 | } 396 | .pe-7s-glasses:before { 397 | content: "\e651"; 398 | } 399 | .pe-7s-gift:before { 400 | content: "\e652"; 401 | } 402 | .pe-7s-folder:before { 403 | content: "\e653"; 404 | } 405 | .pe-7s-flag:before { 406 | content: "\e654"; 407 | } 408 | .pe-7s-filter:before { 409 | content: "\e655"; 410 | } 411 | .pe-7s-file:before { 412 | content: "\e656"; 413 | } 414 | .pe-7s-expand1:before { 415 | content: "\e657"; 416 | } 417 | .pe-7s-exapnd2:before { 418 | content: "\e658"; 419 | } 420 | .pe-7s-edit:before { 421 | content: "\e659"; 422 | } 423 | .pe-7s-drop:before { 424 | content: "\e65a"; 425 | } 426 | .pe-7s-drawer:before { 427 | content: "\e65b"; 428 | } 429 | .pe-7s-download:before { 430 | content: "\e65c"; 431 | } 432 | .pe-7s-display2:before { 433 | content: "\e65d"; 434 | } 435 | .pe-7s-display1:before { 436 | content: "\e65e"; 437 | } 438 | .pe-7s-diskette:before { 439 | content: "\e65f"; 440 | } 441 | .pe-7s-date:before { 442 | content: "\e660"; 443 | } 444 | .pe-7s-cup:before { 445 | content: "\e661"; 446 | } 447 | .pe-7s-culture:before { 448 | content: "\e662"; 449 | } 450 | .pe-7s-crop:before { 451 | content: "\e663"; 452 | } 453 | .pe-7s-credit:before { 454 | content: "\e664"; 455 | } 456 | .pe-7s-copy-file:before { 457 | content: "\e665"; 458 | } 459 | .pe-7s-config:before { 460 | content: "\e666"; 461 | } 462 | .pe-7s-compass:before { 463 | content: "\e667"; 464 | } 465 | .pe-7s-comment:before { 466 | content: "\e668"; 467 | } 468 | .pe-7s-coffee:before { 469 | content: "\e669"; 470 | } 471 | .pe-7s-cloud:before { 472 | content: "\e66a"; 473 | } 474 | .pe-7s-clock:before { 475 | content: "\e66b"; 476 | } 477 | .pe-7s-check:before { 478 | content: "\e66c"; 479 | } 480 | .pe-7s-chat:before { 481 | content: "\e66d"; 482 | } 483 | .pe-7s-cart:before { 484 | content: "\e66e"; 485 | } 486 | .pe-7s-camera:before { 487 | content: "\e66f"; 488 | } 489 | .pe-7s-call:before { 490 | content: "\e670"; 491 | } 492 | .pe-7s-calculator:before { 493 | content: "\e671"; 494 | } 495 | .pe-7s-browser:before { 496 | content: "\e672"; 497 | } 498 | .pe-7s-box2:before { 499 | content: "\e673"; 500 | } 501 | .pe-7s-box1:before { 502 | content: "\e674"; 503 | } 504 | .pe-7s-bookmarks:before { 505 | content: "\e675"; 506 | } 507 | .pe-7s-bicycle:before { 508 | content: "\e676"; 509 | } 510 | .pe-7s-bell:before { 511 | content: "\e677"; 512 | } 513 | .pe-7s-battery:before { 514 | content: "\e678"; 515 | } 516 | .pe-7s-ball:before { 517 | content: "\e679"; 518 | } 519 | .pe-7s-back:before { 520 | content: "\e67a"; 521 | } 522 | .pe-7s-attention:before { 523 | content: "\e67b"; 524 | } 525 | .pe-7s-anchor:before { 526 | content: "\e67c"; 527 | } 528 | .pe-7s-albums:before { 529 | content: "\e67d"; 530 | } 531 | .pe-7s-alarm:before { 532 | content: "\e67e"; 533 | } 534 | .pe-7s-airplay:before { 535 | content: "\e67f"; 536 | } 537 | -------------------------------------------------------------------------------- /css/rotating-card.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin-top: 60px; 3 | font-size: 14px; 4 | font-family: "Helvetica Nueue",Arial,Verdana,sans-serif; 5 | background-color: #E5E9ED; 6 | } 7 | .btn:hover, 8 | .btn:focus, 9 | .btn:active{ 10 | outline: 0 !important; 11 | } 12 | /* entire container, keeps perspective */ 13 | .card-container { 14 | -webkit-perspective: 800px; 15 | -moz-perspective: 800px; 16 | -o-perspective: 800px; 17 | perspective: 800px; 18 | margin-bottom: 30px; 19 | } 20 | /* flip the pane when hovered */ 21 | .card-container:not(.manual-flip):hover .card, 22 | .card-container.hover.manual-flip .card{ 23 | -webkit-transform: rotateY( 180deg ); 24 | -moz-transform: rotateY( 180deg ); 25 | -o-transform: rotateY( 180deg ); 26 | transform: rotateY( 180deg ); 27 | } 28 | 29 | 30 | .card-container.static:hover .card, 31 | .card-container.static.hover .card { 32 | -webkit-transform: none; 33 | -moz-transform: none; 34 | -o-transform: none; 35 | transform: none; 36 | } 37 | /* flip speed goes here */ 38 | .card { 39 | -webkit-transition: -webkit-transform .5s; 40 | -moz-transition: -moz-transform .5s; 41 | -o-transition: -o-transform .5s; 42 | transition: transform .5s; 43 | -webkit-transform-style: preserve-3d; 44 | -moz-transform-style: preserve-3d; 45 | -o-transform-style: preserve-3d; 46 | transform-style: preserve-3d; 47 | position: relative; 48 | } 49 | 50 | /* hide back of pane during swap */ 51 | .front, .back { 52 | -webkit-backface-visibility: hidden; 53 | -moz-backface-visibility: hidden; 54 | -o-backface-visibility: hidden; 55 | backface-visibility: hidden; 56 | position: absolute; 57 | top: 0; 58 | left: 0; 59 | background-color: #FFF; 60 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14); 61 | } 62 | 63 | /* front pane, placed above back */ 64 | .front { 65 | z-index: 2; 66 | } 67 | 68 | /* back, initially hidden pane */ 69 | .back { 70 | -webkit-transform: rotateY( 180deg ); 71 | -moz-transform: rotateY( 180deg ); 72 | -o-transform: rotateY( 180deg ); 73 | transform: rotateY( 180deg ); 74 | z-index: 3; 75 | } 76 | 77 | .back .btn-simple{ 78 | position: absolute; 79 | left: 0; 80 | bottom: 4px; 81 | } 82 | /* Style */ 83 | 84 | 85 | .card{ 86 | background: none repeat scroll 0 0 #FFFFFF; 87 | border-radius: 4px; 88 | color: #444444; 89 | } 90 | .card-container, .front, .back { 91 | width: 100%; 92 | height: 420px; 93 | border-radius: 4px; 94 | } 95 | .card .cover{ 96 | height: 105px; 97 | overflow: hidden; 98 | border-radius: 4px 4px 0 0; 99 | } 100 | .card .cover img{ 101 | width: 100%; 102 | } 103 | .card .user{ 104 | border-radius: 50%; 105 | display: block; 106 | height: 120px; 107 | margin: -55px auto 0; 108 | overflow: hidden; 109 | width: 120px; 110 | } 111 | .card .user img{ 112 | background: none repeat scroll 0 0 #FFFFFF; 113 | border: 4px solid #FFFFFF; 114 | width: 100%; 115 | } 116 | 117 | .card .content{ 118 | background-color: rgba(0, 0, 0, 0); 119 | box-shadow: none; 120 | padding: 10px 20px 20px; 121 | } 122 | .card .content .main { 123 | min-height: 160px; 124 | } 125 | .card .back .content .main { 126 | height: 215px; 127 | } 128 | .card .name { 129 | font-size: 22px; 130 | line-height: 28px; 131 | margin: 10px 0 0; 132 | text-align: center; 133 | text-transform: capitalize; 134 | } 135 | .card h5{ 136 | margin: 5px 0; 137 | font-weight: 400; 138 | line-height: 20px; 139 | } 140 | .card .profession{ 141 | color: #999999; 142 | text-align: center; 143 | margin-bottom: 20px; 144 | } 145 | .card .footer { 146 | border-top: 1px solid #EEEEEE; 147 | color: #999999; 148 | margin: 30px 0 0; 149 | padding: 10px 0 0; 150 | text-align: center; 151 | } 152 | .card .footer .social-links{ 153 | font-size: 18px; 154 | } 155 | .card .footer .social-links a{ 156 | margin: 0 7px; 157 | } 158 | .card .footer .btn-simple{ 159 | margin-top: -6px; 160 | } 161 | .card .header { 162 | padding: 15px 20px; 163 | height: 90px; 164 | } 165 | .card .motto{ 166 | border-bottom: 1px solid #EEEEEE; 167 | color: #999999; 168 | font-size: 14px; 169 | font-weight: 400; 170 | padding-bottom: 10px; 171 | text-align: center; 172 | } 173 | 174 | .card .stats-container{ 175 | width: 100%; 176 | margin-top: 50px; 177 | } 178 | .card .stats{ 179 | display: block; 180 | float: left; 181 | width: 33.333333%; 182 | text-align: center; 183 | } 184 | 185 | .card .stats:first-child{ 186 | border-right: 1px solid #EEEEEE; 187 | } 188 | .card .stats:last-child{ 189 | border-left: 1px solid #EEEEEE; 190 | } 191 | .card .stats h4{ 192 | font-weight: 300; 193 | margin-bottom: 5px; 194 | } 195 | .card .stats p{ 196 | color: #777777; 197 | } 198 | /* Just for presentation */ 199 | 200 | .title{ 201 | color: #506A85; 202 | text-align: center; 203 | font-weight: 300; 204 | font-size: 44px; 205 | margin-bottom: 90px; 206 | line-height: 90%; 207 | } 208 | .title small{ 209 | font-size: 17px; 210 | color: #999; 211 | text-transform: uppercase; 212 | margin: 0; 213 | } 214 | .space-30{ 215 | height: 30px; 216 | display: block; 217 | } 218 | .space-50{ 219 | height: 50px; 220 | display: block; 221 | } 222 | .space-200{ 223 | height: 200px; 224 | display: block; 225 | } 226 | .white-board{ 227 | background-color: #FFFFFF; 228 | min-height: 200px; 229 | padding: 60px 60px 20px; 230 | } 231 | .ct-heart{ 232 | color: #F74933; 233 | } 234 | 235 | pre.prettyprint{ 236 | background-color: #ffffff; 237 | border: 1px solid #999; 238 | margin-top: 20px; 239 | padding: 20px; 240 | text-align: left; 241 | } 242 | .atv, .str{ 243 | color: #05AE0E; 244 | } 245 | .tag, .pln, .kwd{ 246 | color: #3472F7; 247 | } 248 | .atn{ 249 | color: #2C93FF; 250 | } 251 | .pln{ 252 | color: #333; 253 | } 254 | .com{ 255 | color: #999; 256 | } 257 | 258 | .btn-simple{ 259 | opacity: .8; 260 | color: #666666; 261 | background-color: transparent; 262 | } 263 | 264 | .btn-simple:hover, 265 | .btn-simple:focus{ 266 | background-color: transparent; 267 | box-shadow: none; 268 | opacity: 1; 269 | } 270 | .btn-simple i{ 271 | font-size: 16px; 272 | } 273 | 274 | .navbar-brand-logo{ 275 | padding: 0; 276 | } 277 | .navbar-brand-logo .logo{ 278 | border: 1px solid #333333; 279 | border-radius: 50%; 280 | float: left; 281 | overflow: hidden; 282 | width: 60px; 283 | } 284 | .navbar .navbar-brand-logo .brand{ 285 | color: #FFFFFF; 286 | float: left; 287 | font-size: 18px; 288 | font-weight: 400; 289 | line-height: 20px; 290 | margin-left: 10px; 291 | margin-top: 10px; 292 | width: 60px; 293 | } 294 | .navbar-default .navbar-brand-logo .brand{ 295 | color: #555; 296 | } 297 | 298 | 299 | /* Fix bug for IE */ 300 | 301 | @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { 302 | .front, .back{ 303 | -ms-backface-visibility: visible; 304 | backface-visibility: visible; 305 | } 306 | 307 | .back { 308 | visibility: hidden; 309 | -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67); 310 | } 311 | .front{ 312 | z-index: 4; 313 | } 314 | .card-container:not(.manual-flip):hover .back, 315 | .card-container.manual-flip.hover .back{ 316 | z-index: 5; 317 | visibility: visible; 318 | } 319 | } 320 | -------------------------------------------------------------------------------- /genezio.yaml: -------------------------------------------------------------------------------- 1 | name: rotating-css-card 2 | region: us-east-1 3 | frontend: 4 | # Specifies the path of your code. 5 | path: . 6 | # Specifies the folder where the build is located. 7 | # This is the folder that will be deployed. 8 | publish: . 9 | yamlVersion: 2 -------------------------------------------------------------------------------- /images/rotating_card_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_profile.png -------------------------------------------------------------------------------- /images/rotating_card_profile2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_profile2.png -------------------------------------------------------------------------------- /images/rotating_card_profile3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_profile3.png -------------------------------------------------------------------------------- /images/rotating_card_thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_thumb.jpg -------------------------------------------------------------------------------- /images/rotating_card_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_thumb.png -------------------------------------------------------------------------------- /images/rotating_card_thumb2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_thumb2.png -------------------------------------------------------------------------------- /images/rotating_card_thumb3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/rotating_card_thumb3.png -------------------------------------------------------------------------------- /images/tim_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creativetimofficial/rotating-css-card/7c22b3c624feae2f31114a8c30fb0765e685dca9/images/tim_logo.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rotating CSS Cards by Creative Tim 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 54 | 55 |
56 | 91 | 92 |
93 |

94 | This is our awesome team 95 |
96 | Present your team in an interesting way 97 |

98 |
99 |
100 |
101 |
102 |
103 |
104 | 105 |
106 |
107 | 108 |
109 |
110 |
111 |

John Marvel

112 |

CEO

113 |

"I'm the new Sinatra, and since I made it here I can make it anywhere, yeah, they love me everywhere"

114 |
115 | 118 |
119 |
120 |
121 |
122 |
"To be or not to be, this is my awesome motto!"
123 |
124 |
125 |
126 |

Job Description

127 |

Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...

128 | 129 |
130 |
131 |

235

132 |

133 | Followers 134 |

135 |
136 |
137 |

114

138 |

139 | Following 140 |

141 |
142 |
143 |

35

144 |

145 | Projects 146 |

147 |
148 |
149 | 150 |
151 |
152 | 159 |
160 |
161 |
162 |
163 | 164 |
165 |
166 |
167 |
168 |
169 | 170 |
171 |
172 | 173 |
174 |
175 |
176 |

Andrew Mike

177 |

Web Developer

178 |

"Lamborghini Mercy
Your chick she so thirsty
I'm in that two seat Lambo"

179 |
180 | 185 |
186 |
187 |
188 |
189 |
"To be or not to be, this is my awesome motto!"
190 |
191 |
192 |
193 |

Job Description

194 |

Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...

195 | 196 |
197 |
198 |

235

199 |

200 | Followers 201 |

202 |
203 |
204 |

114

205 |

206 | Following 207 |

208 |
209 |
210 |

35

211 |

212 | Projects 213 |

214 |
215 |
216 | 217 |
218 |
219 | 229 |
230 |
231 |
232 |
233 | 234 |
235 |
236 |
237 |
238 |
239 | 240 |
241 |
242 | 243 |
244 |
245 |
246 |

Inna Corman

247 |

Product Manager

248 | 249 |

"I'm the new Sinatra, and since I made it here I can make it anywhere, yeah, they love me everywhere"

250 |
251 | 256 |
257 |
258 |
259 |
260 |
"To be or not to be, this is my awesome motto!"
261 |
262 |
263 |
264 |

Job Description

265 |

Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...

266 | 267 |
268 |
269 |

235

270 |

271 | Followers 272 |

273 |
274 |
275 |

114

276 |

277 | Following 278 |

279 |
280 |
281 |

35

282 |

283 | Projects 284 |

285 |
286 |
287 | 288 |
289 |
290 | 297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |

309 | If you want to use the rotating presentation cards you have to add to your project these files: 310 |

311 |
312 |         
313 | <link href="css/bootstrap.css" rel="stylesheet" /> 314 | <link href="css/rotating-card.css" rel="stylesheet" /> 315 | <link href="https://netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" /> 316 |
317 |
318 |

319 | Here is the html code for one card: 320 |

321 |
322 |         
323 | <div class="card-container"> 324 | <div class="card"> 325 | <div class="front"> 326 | <div class="cover"> 327 | <img src="images/rotating_card_thumb3.png"/> 328 | </div> 329 | <div class="user"> 330 | <img class="img-circle" src="images/rotating_card_profile.png"/> 331 | </div> 332 | <div class="content"> 333 | <div class="main"> 334 | <h3 class="name">Inna Corman</h3> 335 | <p class="profession">Product Manager</p> 336 | 337 | <p class="text-center">"I'm the new Sinatra, and since I made it here I can make it anywhere, yeah, they love me everywhere"</p> 338 | </div> 339 | <div class="footer"> 340 | <div class="rating"> 341 | <i class="fa fa-mail-forward"></i> Auto Rotation 342 | </div> 343 | </div> 344 | </div> 345 | </div> <!-- end front panel --> 346 | <div class="back"> 347 | <div class="header"> 348 | <h5 class="motto">"To be or not to be, this is my awesome motto!"</h5> 349 | </div> 350 | <div class="content"> 351 | <div class="main"> 352 | <h4 class="text-center">Job Description</h4> 353 | <p class="text-center">Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...</p> 354 | 355 | <div class="stats-container"> 356 | <div class="stats"> 357 | <h4>235</h4> 358 | <p> 359 | Followers 360 | </p> 361 | </div> 362 | <div class="stats"> 363 | <h4>114</h4> 364 | <p> 365 | Following 366 | </p> 367 | </div> 368 | <div class="stats"> 369 | <h4>35</h4> 370 | <p> 371 | Projects 372 | </p> 373 | </div> 374 | </div> 375 | 376 | </div> 377 | </div> 378 | <div class="footer"> 379 | <div class="social-links text-center"> 380 | <a href="https://creative-tim.com" class="facebook"><i class="fa fa-facebook fa-fw"></i></a> 381 | <a href="https://creative-tim.com" class="google"><i class="fa fa-google-plus fa-fw"></i></a> 382 | <a href="https://creative-tim.com" class="twitter"><i class="fa fa-twitter fa-fw"></i></a> 383 | </div> 384 | </div> 385 | </div> <!-- end back panel --> 386 | </div> <!-- end card --> 387 | </div> <!-- end card-container --> 388 | 389 |
390 |
391 |
392 |
393 |
394 | Download 395 |
396 |
397 |
398 |
399 |

Copyright © 2015 Creative Tim, made with for a better web.

400 |
401 |
402 | 403 | 404 | 405 | 406 | 407 | 433 | 434 | 435 | 436 | -------------------------------------------------------------------------------- /js/bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.0.2 by @fat and @mdo 3 | * Copyright 2013 Twitter, Inc. 4 | * Licensed under https://www.apache.org/licenses/LICENSE-2.0 5 | * 6 | * Designed and built with all the love in the world by @mdo and @fat. 7 | */ 8 | 9 | if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(1200)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); -------------------------------------------------------------------------------- /rotating-card.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rotating CSS Cards by Creative Tim 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 54 | 55 |
56 | 91 | 92 |
93 |

94 | This is our awesome team 95 |
96 | Present your team in an interesting way 97 |

98 |
99 |
100 |
101 |
102 |
103 |
104 | 105 |
106 |
107 | 108 |
109 |
110 |
111 |

John Marvel

112 |

CEO

113 |

"I'm the new Sinatra, and since I made it here I can make it anywhere, yeah, they love me everywhere"

114 |
115 | 118 |
119 |
120 |
121 |
122 |
"To be or not to be, this is my awesome motto!"
123 |
124 |
125 |
126 |

Job Description

127 |

Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...

128 | 129 |
130 |
131 |

235

132 |

133 | Followers 134 |

135 |
136 |
137 |

114

138 |

139 | Following 140 |

141 |
142 |
143 |

35

144 |

145 | Projects 146 |

147 |
148 |
149 | 150 |
151 |
152 | 159 |
160 |
161 |
162 |
163 | 164 |
165 |
166 |
167 |
168 |
169 | 170 |
171 |
172 | 173 |
174 |
175 |
176 |

Andrew Mike

177 |

Web Developer

178 |

"Lamborghini Mercy
Your chick she so thirsty
I'm in that two seat Lambo"

179 |
180 | 185 |
186 |
187 |
188 |
189 |
"To be or not to be, this is my awesome motto!"
190 |
191 |
192 |
193 |

Job Description

194 |

Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...

195 | 196 |
197 |
198 |

235

199 |

200 | Followers 201 |

202 |
203 |
204 |

114

205 |

206 | Following 207 |

208 |
209 |
210 |

35

211 |

212 | Projects 213 |

214 |
215 |
216 | 217 |
218 |
219 | 229 |
230 |
231 |
232 |
233 | 234 |
235 |
236 |
237 |
238 |
239 | 240 |
241 |
242 | 243 |
244 |
245 |
246 |

Inna Corman

247 |

Product Manager

248 | 249 |

"I'm the new Sinatra, and since I made it here I can make it anywhere, yeah, they love me everywhere"

250 |
251 | 256 |
257 |
258 |
259 |
260 |
"To be or not to be, this is my awesome motto!"
261 |
262 |
263 |
264 |

Job Description

265 |

Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...

266 | 267 |
268 |
269 |

235

270 |

271 | Followers 272 |

273 |
274 |
275 |

114

276 |

277 | Following 278 |

279 |
280 |
281 |

35

282 |

283 | Projects 284 |

285 |
286 |
287 | 288 |
289 |
290 | 297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |

309 | If you want to use the rotating presentation cards you have to add to your project these files: 310 |

311 |
312 |         
313 | <link href="css/bootstrap.css" rel="stylesheet" /> 314 | <link href="css/rotating-card.css" rel="stylesheet" /> 315 | <link href="https://netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" /> 316 |
317 |
318 |

319 | Here is the html code for one card: 320 |

321 |
322 |         
323 | <div class="card-container"> 324 | <div class="card"> 325 | <div class="front"> 326 | <div class="cover"> 327 | <img src="images/rotating_card_thumb3.png"/> 328 | </div> 329 | <div class="user"> 330 | <img class="img-circle" src="images/rotating_card_profile.png"/> 331 | </div> 332 | <div class="content"> 333 | <div class="main"> 334 | <h3 class="name">Inna Corman</h3> 335 | <p class="profession">Product Manager</p> 336 | 337 | <p class="text-center">"I'm the new Sinatra, and since I made it here I can make it anywhere, yeah, they love me everywhere"</p> 338 | </div> 339 | <div class="footer"> 340 | <div class="rating"> 341 | <i class="fa fa-mail-forward"></i> Auto Rotation 342 | </div> 343 | </div> 344 | </div> 345 | </div> <!-- end front panel --> 346 | <div class="back"> 347 | <div class="header"> 348 | <h5 class="motto">"To be or not to be, this is my awesome motto!"</h5> 349 | </div> 350 | <div class="content"> 351 | <div class="main"> 352 | <h4 class="text-center">Job Description</h4> 353 | <p class="text-center">Web design, Adobe Photoshop, HTML5, CSS3, Corel and many others...</p> 354 | 355 | <div class="stats-container"> 356 | <div class="stats"> 357 | <h4>235</h4> 358 | <p> 359 | Followers 360 | </p> 361 | </div> 362 | <div class="stats"> 363 | <h4>114</h4> 364 | <p> 365 | Following 366 | </p> 367 | </div> 368 | <div class="stats"> 369 | <h4>35</h4> 370 | <p> 371 | Projects 372 | </p> 373 | </div> 374 | </div> 375 | 376 | </div> 377 | </div> 378 | <div class="footer"> 379 | <div class="social-links text-center"> 380 | <a href="https://creative-tim.com" class="facebook"><i class="fa fa-facebook fa-fw"></i></a> 381 | <a href="https://creative-tim.com" class="google"><i class="fa fa-google-plus fa-fw"></i></a> 382 | <a href="https://creative-tim.com" class="twitter"><i class="fa fa-twitter fa-fw"></i></a> 383 | </div> 384 | </div> 385 | </div> <!-- end back panel --> 386 | </div> <!-- end card --> 387 | </div> <!-- end card-container --> 388 | 389 |
390 |
391 |
392 |
393 |
394 | Download 395 |
396 |
397 |
398 |
399 |

Copyright © 2015 Creative Tim, made with for a better web.

400 |
401 |
402 | 403 | 404 | 405 | 406 | 407 | 433 | 434 | 435 | 436 | --------------------------------------------------------------------------------