Hub Of Geekz

  • Home
  • About Me
  • Contact Us
  • Home
  • Languages
    • C++
    • Java
    • Perl
    • Prolog
    • Bootstrap
  • Database
    • SQL
    • PL/SQL
  • Study
    • Java
      • Java Collection
      • Java Concurrency
      • Java Interview Questions
      • Java Networking
    • Number System
  • Kavita
  • Entertainment
    • Hinglish Cafe
    • Videos
    • Jokes
  • Windows Tricks
  • How To

Saturday, 21 February 2015

Disable input in Bootstrap

 Earthcare Foundation NGO     00:26     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains some additional helper classes in forms which can be used to make standard level form.
</h3>
<div class="container">
<input class="form-control" type="text" placeholder="Input is disabled here " disabled="true"/>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>


style.css


.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Headers using Bootstrap

 Earthcare Foundation NGO     00:24     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains Heading with subtitle at right side.
</h3>
<div class="container">
<div class="page-header">
<h1 class="text-center">The Great Politician <small>Mr. Abhishek Awasthi</small></h1>
</div>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>


style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}




Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Glyphicons in Bootstrap

 Earthcare Foundation NGO     00:20     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of glyphicons which are used to display small images.
</h3>
<h2>I am in Love <span class="glyphicon glyphicon-heart"></span></h2>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>



style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}


Output:


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Dynamic layout in Bootstrap

 Earthcare Foundation NGO     00:15     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1>The Great Stories</h1>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-4 col-sm-6 col-xs-12" >
<h2>The Great Beast</h2>
<p>There was a great beast............</p>
</div>
<div class="col-md-4 col-sm-6 col-xs-12 " >
<h2>The Great Samrat</h2>
<p>There was a great King............</p>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" >
<h2>The Great Cricketer</h2>
<p>There was a great cricketer............</p>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" >
<h2>The Great Player</h2>
<p>There was a great player............</p>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" >
<h2>The Great Wife</h2>
<p>There was a great Wife............</p>
</div>
<div class="col-md-4 col-sm-6 col-xs-12" >
<h2>The Great Husband</h2>
<p>There was a great Husband............</p>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>


style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}

Output on medium devices




Output on smaller  devices




Output on extra small devices



Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Buttons in Bootstrap

 Earthcare Foundation NGO     00:07     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of different types of buttons.
</h3>
<div class="container"></div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-xs ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-sm ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-lg ">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-lg">Button</a>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>




style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}



Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Simple form using Bootstrap

 Earthcare Foundation NGO     00:03     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains a basic form.
</h3>
<div class="container">
<form class="form">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Enter your Name"/>
</div>
<div class="form-group">
<label for="age">Age</label>
<input type="text" class="form-control" id="age" placeholder="Enter your Age"/>
</div>
<div class="form-group">
<label for="no">Number</label>
<input type="text" class="form-control" id="no" placeholder="Enter your Mobile Number"/>
</div>
<div class="form-group">
<label for="gr">Gender</label>
<input type="text" class="form-control" id="gr" placeholder="Enter your Gender"/>
</div>
<div class="form-group">
<label for="email">E-Mail</label>
<input type="mail" class="form-control" id="mail" placeholder="Enter your E-Mail Id"/>
</div>
<div class="form-group">
<label for="intro">Description</label>
<textarea class="form-control" id="intro" placeholder="Enter something about yourself"></textarea>
</div>
<button type="submit" class="btn btn-info">Submit</button>
<button type="reset" class="btn btn-info">Reset</button>
</form>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>




style.css


.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}




Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Friday, 20 February 2015

Badges in Bootstrap

 Earthcare Foundation NGO     23:59     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of badges.We have seen it many where such as in our mailboxes we mostly see notification that inbox23 means 23 mails are unread there we use this concept.
</h3>
<center><a href="#" class="btn btn-success btn-lg">Inbox <span class="badge">100</span></a></center>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>



style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}



Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Grid Layout in Bootstrap

 Earthcare Foundation NGO     23:52     Bootstrap     No comments   

This post explains about grid layout in Bootstrap.We can have at most 12 columns and infinite rows using bootstrap on a page.
col-xs-*  for extra smaller devices
col-sm-* for smaller devices
col-md-* for medium devices
col-lg-* for larger devices

* represents a number between 1-12 since we can ave at most 12 columns
col-xs-2 means this column will span on two columns of bootstrap.


<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains columns.
In smaller devices such as tablets all four columns will be in the same row
and in extra small devices such as mobile one row contain 2 columns. </h3>
<div class="container">
<div class="row">
<div class="col-sm-3 col-xs-6 col1">
<h1>Abishek</h1>
</div>
<div class="col-sm-3 col-xs-6 col2" >
<h1>Shashank</h1>
</div>
<div class="col-sm-3 col-xs-6 col3">
<h1>Abhinav</h1>
</div>
<div class="col-sm-3 col-xs-6 col4">
<h1>Atal</h1>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>



Style.css


.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}



Output:






Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Ad


Jobsmag.inIndian Education BlogThingsGuide

Subscribe

Do you want fresh and hot updates about us? Then subscribe to our Feeds.

Total Pageviews

Popular Posts

  • Write a program in PL/SQL to print the factorial of a number.
    In this post I will explain how to get the factorial of any given number. For that first you need to know what is the procedure to find ...
  • To find the GCD of two numbers in PROLOG.
    gcd(X,Y):-X=Y,write('GCD of two numbers is '),write(X); X=0,write('GCD of two numbers is '),write(Y); Y=0,write('G...
  • Write a PL/SQL code to get the Fibonacci Sequence
    First, I will explain what is Fibonacci Sequence and how to get this series. So, Fibonacci Sequence is a series of numbers 0,1,1,2,3,5,8,1...

Label

All Articles Best Resources Blogging Boost Traffic Bootstrap C Plus Plus Collection Comedy Comedy Posts Comedy Videos Concurrency creative commons website Education Employee Entertainment Fibonacci Sequence free images GirlFriend Hinglish Cafe How To Image Websites Inspirational Java Java Interview Questions Java Networking Kavita Sangrah Life Lock Sreen Love Number System Patterns Perl Picture PL/SQL Plastic Engineering Programming Prolog public domain SEO Servlet Short Story Shortcut Keys Social Media Social Services SQL SuVichar Thread Traffic True Events Ultimate Guide Windows Tricks Windows8.1 WordPress

Blog Archive

  • ▼  2020 (43)
    • ▼  September (41)
      • कुल 33 प्रकार के देवी देवता हैँ हिँदू धर्म मे
      • तीन ऋण -
      • चारपीठ
      • चार युगों के नाम
      • चार धाम
      • चार वेद
      • चार आश्रम
      • चार अंतःकरण
      • पञ्च गव्य
      • पञ्च देव
      • पंच तत्त्व
      • छह दर्शन
      • दो पक्षो के नाम
      • सप्त ऋषियों के नाम
      • सप्त पुरी के नाम
      • आठ योग
      • आठ लक्ष्मी
      • नव दुर्गा
      • दस दिशाओ के नाम
      • प्रभु विष्णु के ११ अवतार
      • सनातन संस्कृति के अनुसार बारह महीनों के नाम
      • बारह राशियों के नाम
      • श्री मद्-भगवत गीता"के बारे में महत्वपूर्ण जानकारी
      • धृतराष्ट्र और गांधारी के सौ पुत्र….. कौरव कहलाए ज...
      • पांच पांडवो की माताओ के नाम
      • पांच पांडव के नाम
      • Important Toll Free numbers in India
      • बारह शिव ज्योतिर्लिंग
      • Full form of technical words
      • Full form of abbreviations
      • Trigonometry formulas
      • Chemistry symbols
      • भारतीय संविधान - प्रश्न उत्तर
      • General knowledge question answer
      • Physics formula and relations
      • General knowledge question answer
      • फल/फुल/सब्जी आदि का वैज्ञानिक नाम
      • Chemistry के इम्पोर्टेन्ट सिम्बल्स
      • गणित के महत्वपूर्ण चिन्ह,,
      • पंद्रह तिथियाँ
      • Phrasal Verbs :
    • ►  August (2)
  • ►  2019 (1)
    • ►  July (1)
  • ►  2018 (9)
    • ►  September (7)
    • ►  July (1)
    • ►  May (1)
  • ►  2017 (8)
    • ►  June (3)
    • ►  May (3)
    • ►  March (1)
    • ►  January (1)
  • ►  2016 (2)
    • ►  September (1)
    • ►  January (1)
  • ►  2015 (91)
    • ►  December (1)
    • ►  November (1)
    • ►  October (6)
    • ►  May (10)
    • ►  March (20)
    • ►  February (50)
    • ►  January (3)
  • ►  2014 (339)
    • ►  December (1)
    • ►  October (55)
    • ►  September (58)
    • ►  August (94)
    • ►  July (64)
    • ►  June (67)
  • ►  2013 (34)
    • ►  August (5)
    • ►  April (29)
  • ►  2012 (20)
    • ►  November (1)
    • ►  October (15)
    • ►  September (4)

Author

  • Earthcare Foundation NGO
  • Kavita house
  • Unknown
  • Unknown

Info

Copyright © Hub Of Geekz | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates