<html>
<head>
<style>
.restrict-lines{
//max-height : 40px; /* Display 2 lines */
max-height : 20px; /* Display one line */
overflow: hidden;
}
</style>
</head>
<body>
<h1>How to limit the number of displayed lines using CSS</h1>
<div class="restrict-lines">
Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
<div>
</body>
</html>
In this tutorial I have explain about the get YouTube thumbnail using AngularJS <html ng-app id="YoutubeApp"> <head> <title> How to get a YouTube video thumbnail dynamically from the YouTube API using AngularJS Tutorials</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js"></script> <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script> function YoutubeController ($scope) { $scope.todos = []; $scope. addVideo = function() { $scope.todos.push({text:$scope.todoText, done:false}); $scope.todoText = ''; ...
Comments
Post a Comment