repl.it
@badvillain01/

horizontal card

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • book.css
  • script.js
  • style.css
index.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>repl.it</title>


	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
	 crossorigin="anonymous">


  <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
	 crossorigin="anonymous">
	</script> 

	<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> -->



	<link href="style.css" rel="stylesheet" type="text/css" />
	<link href="book.css" rel="stylesheet" type="text/css" />

</head>

<body>

	<div class="container">

		<!-- <div class="card text-center mx-auto" style="width: 18rem;">
        <img class="card-img-top" src="http://lorempixel.com/100/190/nature/6/" width="100%" height="300" alt="Card image cap">
        <div class="card-body">
          <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
        </div>
      </div> -->


		<!-- <div class="book-info text-white">
			<div>
				<img class="img-fluid float-left" src="https://interpreterbook.com/img/cover-cb2da3d1.png" width="260" height="300" alt="Card image cap">
      </div>

      <div class="text-center">
        <h3>Hello Card</h3>
        <p>hello helo heuhnefroirfuhenjmk burfnitjgbhu4rn3ij huybuernjvgtbuh3rnijivyg bthvtrb</p>
        <h5>Author(s):- Thorsten Ball</h5>

        <p>
          <span class="float-left">Year: <span style="font-weight: bold">2018</span></span>
          <span class="float-right">Page Count: <span style="font-weight: bold">68</span></span>
        </p>
      </div>

    </div>   -->



		<!-- <div class="card text-center mx-auto" style="width: 24rem;">
			<img class="card-img-top" src="https://interpreterbook.com/img/cover-cb2da3d1.png" width="100%" height="300" alt="Card image cap">
      <div class="card-body">
        <h5 class="card-title">Writing An Interpreter In Go</h5>
        <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
        <p class="card-text">By: Thorsten Bell</p>
        <p class="card-text">Language(s): Go</p>
        <p class="card-text">
          <span class="badge badge-pill badge-warning">Machine Learning</span>
          <span class="badge badge-pill badge-warning">Go</span>
          <span class="badge badge-pill badge-warning">Success</span>
        </p>
        <p class="card-text pb-2">
          <span class="float-left">Year: 2018</span>
          <span class="float-right">Page Count: 89</span> 
        </p>

        <hr class="bg-white">
        <h6 class="card-title">Goal</h6>
        <p class="card-text">In this book, we will create a programming language together.We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language.</p>
      </div>

      <div class="card-footer">
        <a role="button" href="#" class="card-link btn btn-success">Read / Download</a>

        <h5 class="text-white pt-2">Admin</h5>
        <div class="row">
          <div class="col text-left">
            <a href="#" class="btn btn-sm btn-outline-warning" role="button">Update</a>
          </div>
          <div class="col text-right">
            <a href="#" class="btn btn-sm btn-outline-danger" role="button">Delete</a>
          </div>    
        </div>
      </div>
    </div> -->


    <!-- <div class="row">
      <div class="col text-left">
        <a href="#" class="btn btn-md btn-primary button" role="button">Cancel</a>
      </div>
      <div class="col text-right">
        <a href="#" class="btn btn-md btn-primary button" role="button">Cancel</a>
      </div>          
    </div>   -->


 <!-- end of second container -->
  <!-- </div> -->


  <!-- <p class="text-white mt-6">Another DIV</p> -->


  <div class="container">
    <div class="book-body text-white">
      <div class="float-left">
        <img class="img-fluid" src="https://interpreterbook.com/img/cover-cb2da3d1.png" width="100%" height="300" alt="Card image cap">
      </div>

      <div class="book-content text-center">
        <h5 class="pt-3">Writing An Interpreter In Go</h5>
        <h6 class="mb-2 text-muted">Card subtitle</h6>
        <p>By: Thorsten Bell</p>
        <p>Language(s): Go</p>
        <p>
          <span class="badge badge-pill badge-warning">Machine Learning</span>
          <span class="badge badge-pill badge-warning">Go</span>
          <span class="badge badge-pill badge-warning">Success</span>
        </p>

        <div class="row">
          <p class="col"><span style="font-weight: bold">Page Count:</span> 98</p>
          <p class="col"><span style="font-weight: bold">Year:</span> 2018</p>
        </div>

        <hr class="bg-white mt-2">
        <h6>Goal</h6>
        <p>In this book, we will create a programming language together. We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language.</p>

        <a role="button" href="#" class="card-link btn btn-success">Read / Download</a>



        <h5 class="pt-2">Admin Setting</h5>

        <div class="row pb-3">
          <div class="col">
            <a href="#" class="btn btn-lg btn-outline-warning" role="button">Update</a>
          </div>
          <div class="col">
            <a href="#" class="btn btn-lg btn-outline-danger" role="button">Delete</a>
          </div>    
        </div>

      </div>
    </div>
  </div>











<!-- Compiled and minified JavaScript -->
    <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> -->



	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
	 crossorigin="anonymous">
	</script>
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
	 crossorigin="anonymous">
	</script>


	<script src="script.js">
	</script>
</body>

</html>
result
console
?