"Restaurant"
Bootstrap 3.3.0 Snippet by apolyse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="restaurant.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-1.12.3.min.js" integrity="sha256-aaODHAgvwQW1bFOGXMeX+pC4PZIPsvn2h1sArYOhgXQ=" crossorigin="anonymous"></script>
<script src="controls.js"></script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-8 col-md-8 col-xs-12 no-padding">
<div class="restaurant-table">
<h1>
<div class="row">
<div class="col-sm-2 col-md-2 col-xs-2"><img src='https://www.deliveryup.com/editable/images/logos/front/22.jpg' class = "logo-small" /></div>
<div class="col-sm-10 col-md-10 col-xs-10 ">
805 Kabob
<label class="restaurant-desc">Closes today at 11:45 PM</label>
</div>
</div>
</h1>
<h3><div><span class="radio" id="delivery">Delivery</span><span class="radio" id="takeout">Takeout</span></h3>
<ul>
<li>
<label>Mini Plate</label>
<label class="desc">Your choice of 1 item and 3 sides.</label>
</li>
<li>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
li{
list-style:none;
}
h1{
font-size:21px !important;
}
.container{
padding: 15px 15px;
}
span.radio {
display: inline;
cursor: pointer;
margin: 5px;
padding: 15px;
border-radius: 3px;
color: #4c493f;
}
label.desc {
font-size:12px;
color: #777774;
cursor: pointer;
font-weight: 200;
}
label.restaurant-desc {
font-size: 11px;
margin-top: 10px;
font-weight: 200;
}
.type-table li {
color: #ff7200;
font-size: 14px;
padding: 4px 4px;
}
.type-table li:hover{
background: #f7eedc;
border-radius: 8px;
cursor:pointer;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
$(document).ready(function(){
$('.radio').first().css('background-color', '#ffab35');
$('.radio').click(function(){
$(".radio").css('background-color', 'transparent')
$(this).css('background-color', '#ffab35');
});
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: