Chuck Norris Quotes
How do I make an chuck norris quotes?
What is a chuck norris quotes? How do you make a chuck norris quotes? This script and codes were developed by David Storey on 12 July 2022, Tuesday.
Chuck Norris Quotes - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Chuck Norris Quotes</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ [v-cloak] { display: none;
}
body { margin: 0; padding: 0 20px;
}
.quote { border: 1px solid #000; border-radius: 4px; box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.5); display: block; margin: 15% auto 0; max-width: 800px; padding: 20px;
}
.quote p { font-family: sans-serif; margin: 0; padding: 0 0 20px 0; text-align: center; text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
}
.quote p:before { content: '\201C';
}
.quote p:after { content: '\201D';
}
.quote p:after,
.quote p:before { font-size: 300%; font-weight: bold; line-height: 0.4; position: relative; top: 10px;
}
.quote .button { background: #000; border: 1px solid #000; border-radius: 3px; color: #fff; cursor: pointer; display: inline-block; font-family: sans-serif; font-size: 12px; line-height: 1; margin: 0; padding: 10px; text-align: center; text-decoration: none;
}
.quote .button:hover,
.quote .button:focus { background: #fff; color: #000;
}
.quote .button.shareOnTwitter { float: right;
}
@media (max-width: 400px) { .quote .button { padding: 10px 0; width: 100%; } .quote .button.shareOnTwitter { float: none; margin-top: 10px; }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div id="app"> <div class="quote" v-cloak> <p>{{ quote }}</p> <button class="button newQuote" v-on:click="fetchQuote()">New quote</button> <a class="button shareOnTwitter" href="https://twitter.com/intent/tweet?text={{ quote }}" target="_blank">Share on Twitter</a> </div>
</div> <script src='https://cdn.jsdelivr.net/vue/latest/vue.js'></script>
<script src='https://cdn.rawgit.com/larryosborn/JSONP/master/lib/jsonp.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Chuck Norris Quotes - Script Codes CSS Codes
[v-cloak] { display: none;
}
body { margin: 0; padding: 0 20px;
}
.quote { border: 1px solid #000; border-radius: 4px; box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.5); display: block; margin: 15% auto 0; max-width: 800px; padding: 20px;
}
.quote p { font-family: sans-serif; margin: 0; padding: 0 0 20px 0; text-align: center; text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
}
.quote p:before { content: '\201C';
}
.quote p:after { content: '\201D';
}
.quote p:after,
.quote p:before { font-size: 300%; font-weight: bold; line-height: 0.4; position: relative; top: 10px;
}
.quote .button { background: #000; border: 1px solid #000; border-radius: 3px; color: #fff; cursor: pointer; display: inline-block; font-family: sans-serif; font-size: 12px; line-height: 1; margin: 0; padding: 10px; text-align: center; text-decoration: none;
}
.quote .button:hover,
.quote .button:focus { background: #fff; color: #000;
}
.quote .button.shareOnTwitter { float: right;
}
@media (max-width: 400px) { .quote .button { padding: 10px 0; width: 100%; } .quote .button.shareOnTwitter { float: none; margin-top: 10px; }
}
Chuck Norris Quotes - Script Codes JS Codes
var vue = new Vue({ el: '#app', data: { quote: '' }, created: function() { this.fetchQuote(); }, methods: { updateQuote: function(val) { this.quote = decodeHtml(val); }, fetchQuote: function() { var self = this; JSONP({ url: 'http://api.icndb.com/jokes/random', // http://www.icndb.com/api/ success: function(data) { self.updateQuote(data.value.joke); } }); } }
});
function decodeHtml(html) { var txt = document.createElement('textarea'); txt.innerHTML = html; return txt.value;
}
Developer | David Storey |
Username | davidpanik |
Uploaded | July 12, 2022 |
Rating | 3 |
Size | 2,989 Kb |
Views | 34,408 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Rogue Engine | 3,505 Kb |
The Swear Machine | 2,532 Kb |
Parallax landscape | 553,596 Kb |
A Pen by David Storey | 1,682 Kb |
Christmas CSS Challenge | 69,872 Kb |
Twitter Extractor | 2,327 Kb |
Cage-o-graph | 5,338 Kb |
Spiral Art Maker | 5,061 Kb |
Blobs | 3,143 Kb |
Speed Reader | 3,166 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
CSS Social Media Icon | TychoBlender | 3,871 Kb |
Sencha Touch 2.3.1 Basic Grid Example | Trozdol | 2,770 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
Simple blog concept | Drew_mc | 2,666 Kb |
Feedback Page | TessDiNapoli | 2,836 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
Coburg Banks SVG Logo | Mjtweaver | 3,875 Kb |
03 - CSS Variables | Run-time | 2,682 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!