Created
January 21, 2016 16:15
-
-
Save ShigeoTejima/63040d34ba02b795ffbf to your computer and use it in GitHub Desktop.
bootstrap legend. fieldset styleclass is well
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous"> | |
<style type="text/css"> | |
<!-- | |
/* | |
fieldset.scheduler-border { | |
border: 1px groove #ddd !important;: | |
padding: 0 1.4em 1.4em 1.4em !important; | |
margin: 0 0 1.5em 0 !important; | |
-webkit-box-shadow: 0px 0px 0px 0px #000; | |
box-shadow: 0px 0px 0px 0px #000; | |
} | |
legend.scheduler-border { | |
font-size: 1.2em !important; | |
font-weight: bold !important; | |
text-align: left !important; | |
width: auto; | |
padding: 0 20px; | |
border-bottom: none; | |
} | |
*/ | |
/* | |
.the-legend { | |
border-style: none; | |
border-width: 0; | |
font-size: 14px; | |
line-height: 20px; | |
margin-bottom: 0; | |
} | |
.the-fieldset { | |
border: 2px groove threedface #444; | |
-webkit-box-shadow: 0px 0px 0px 0px #000; | |
box-shadow: 0px 0px 0px 0px #000; | |
} | |
*/ | |
/* | |
fieldset legend { margin-bottom: 0; } | |
fieldset > .content { padding-top: 20px; } | |
*/ | |
legend.legendStyle { | |
padding-left: 5px; | |
padding-right: 5px; | |
} | |
fieldset.fsStyle { | |
font-family: Verdana, Arial, sans-serif; | |
font-size: small; | |
font-weight: normal; | |
border: 1px solid #999999; | |
padding: 4px; | |
margin: 5px; | |
} | |
legend.legendStyle { | |
font-size: 90%; | |
color: #888888; | |
background-color: transparent; | |
font-weight: bold; | |
} | |
legend { | |
width: auto; | |
border-bottom: 0px; | |
} | |
--> | |
</style> | |
<title>Bar</title> | |
</head> | |
<body> | |
<div class="container"> | |
<h2>Bar</h2> | |
<fieldset class="fsStyle"> | |
<legend class="legendStyle">In legend</legend> | |
<p class="content">This is in legend.</p> | |
</fieldset> | |
</div> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment