Playing with user.me user generator
How do I make an playing with user.me user generator?
Learning Angular http and some flexbox at the same time. . What is a playing with user.me user generator? How do you make a playing with user.me user generator? This script and codes were developed by Mark Santiago on 02 November 2022, Wednesday.
Playing with user.me user generator - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>playing with user.me user generator</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app="nameApp"> <div class="searchHolder"> <p><label for="">Search for Employee</label><input type="text" ng-model="query" /></p> </div>
<div class="appHolder" ng-controller="NameCtrl">
<!-- <pre>{{test | json}}</pre> -->
<div class="flip-container" ng-repeat="people in test |filter:query "> <div class="flipper"> <div class="front"> <img src="{{people.picture.large}}" alt="" /> <h1 class="{{people.user.gender}}">{{people.name.title}} {{people.name.first}}</h1> </div> <div class="back"> <div class="info {{people.gender}}"> <p>Full Name: <span>{{people.name.first}} {{people.name.last}}</span></p> <p>Home Town: <span>{{people.location.city}}</span</p> <p>Phone: <span>{{people.phone}}</p> <p>Username: <span>{{people.login.username}}</span></p> </div> </div> </div>
</div> </div>
</div> <script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Playing with user.me user generator - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Marck+Script|Tienne:400,900);
.searchHolder { text-align: center; background: steelblue; width: 40%; margin-left: 30%; padding: 5px; padding-top: 2px; border-radius: 10px; color: white; font-size: 20px; border: 4px solid; border-color: #38678f; box-shadow: 2px 2px 2px 0px #444;
}
.searchHolder input { margin-left: 10px;
}
.appHolder { padding: 0; margin: 0; list-style: none; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-flex-flow: row wrap; -ms-flex-pack: distribute; justify-content: space-around;
}
/* entire container, keeps perspective */
.flip-container { -webkit-perspective: 1000; perspective: 1000; margin-top: 30px;
}
/* flip the pane when hovered */
.flip-container:hover .flipper { -webkit-transform: rotateY(180deg); transform: rotateY(180deg);
}
.flip-container:hover .front { -webkit-filter: brightness(0.5); filter: brightness(0.5);
}
.flip-container, .front, .back { width: 200px; height: 250px; margin-top: 15px; margin-right: 10px; text-align: center; color: white; border-radius: 15px;
}
.front, .back { box-shadow: 1px 1px 5px 0px #222;
}
/* flip speed goes here */
.flipper { -webkit-transition: 1.5s; transition: 1.5s; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; position: relative;
}
/* hide back of pane during swap */
.front, .back { -webkit-backface-visibility: hidden; backface-visibility: hidden; position: absolute; top: 0; left: 0;
}
/* front pane, placed above back */
.front { z-index: 2; /* for firefox 31 */ -webkit-transform: rotateY(0deg); transform: rotateY(0deg); -webkit-transition: all .5s; transition: all .5s; -webkit-transition-delay: .05s; transition-delay: .05s;
}
.front img { height: 125px; width: 125px; margin-top: 25px; margin-bottom: 10px; border-radius: 50%; box-shadow: 4px 2px 8px -2px rgba(0, 0, 0, 0.85);
}
.front h1 { text-align: center; text-transform: capitalize; font-size: 1.5em; color: #333; margin-top: 15px;
}
.male { font-family: 'Tienne', serif;
}
.female { font-family: 'Marck Script', cursive;
}
/* back, initially hidden pane */
.back { -webkit-transform: rotateY(180deg); transform: rotateY(180deg);
}
.back .info { text-align: center; color: white; height: 90%; width: 100%; position: absolute; top: 5%;
}
.back .info p { font-size: 1.25em; font-weight: 800; line-height: .75em;
}
.back .info p span { font-size: .75em; font-weight: 400; text-transform: capitalize; display: inline-block; width: 100%;
}
.back .info p:last-child span { font-size: .75em;
}
.flip-container:nth-child(5n+1) .front, .flip-container:nth-child(5n+1) .back { background: #69D2E7;
}
.flip-container:nth-child(5n+2) .front, .flip-container:nth-child(5n+2) .back { background: #A7DBD8;
}
.flip-container:nth-child(5n+3) .front, .flip-container:nth-child(5n+3) .back { background: #E0E4CC;
}
.flip-container:nth-child(5n+4) .front, .flip-container:nth-child(5n+4) .back { background: #F38630;
}
.flip-container:nth-child(5n+5) .front, .flip-container:nth-child(5n+5) .back { background: #FA6900;
}
Playing with user.me user generator - Script Codes JS Codes
var nameApp = angular.module('nameApp', []); //version using a factory and controller nameApp.controller('NameCtrl', function ($scope, Playson){ Playson.list(function(Playson){ $scope.test = Playson.results; }) }); nameApp.factory('Playson',function($http){ return { list: function(good, bad){ $http.get('https://randomuser.me/api/?results=12').success(good).error(function(bad){ alert('Error!') }); } }; });
![Playing with user.me user generator - Script Codes](http://shots.codepen.io/msantiago1256/pen/raePXw-512.jpg)
Developer | Mark Santiago |
Username | msantiago1256 |
Uploaded | November 02, 2022 |
Rating | 3 |
Size | 4,530 Kb |
Views | 8,096 |
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 |
Cute Wolverine CSS | 5,080 Kb |
Showing the class some basics | 1,807 Kb |
Dribbble 2 CSS relaxer | 4,293 Kb |
CSS Nav ideas to show team | 3,179 Kb |
Interactive Business Card | 2,585 Kb |
Variation on first rotating frames | 2,235 Kb |
Adult Learning, quick intro to JS math... | 1,560 Kb |
Playing with pseudo and animate | 2,525 Kb |
A Pen by Mark Santiago | 5,878 Kb |
Working out an idea for a site design... | 3,873 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 |
Zeichensatz | Moklick | 2,058 Kb |
Dragonball Dragon Radar | DouglasGlover | 2,157 Kb |
Drifting Clouds | Benedikte | 2,247 Kb |
Bloomberg Style Link Hover | Gil-- | 1,609 Kb |
Text Blocks Over Image, Updated | KatieK2 | 3,122 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Mapbox Directions with geolocation tracking | Pollardld | 5,827 Kb |
Nav Test -- cats 1 | Payls | 4,735 Kb |
Buttons with style | Chbymnky | 2,082 Kb |
Sticky div | Kaslab | 2,225 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!