HTML
CSS
Result
Skip Results Iframe
EDIT ON
Live
Live
This Pen is owned by
Prime Study Hub
on
CodePen
.
See more by @PrimeStudyHub on CodePen
External CSS
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
External JavaScript
https://code.jquery.com/jquery-3.2.1.slim.min.js
https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js
{"__browser":{"country":"US","device":"unknown_device","mobile":false,"name":"unknown browser","platform":"unknown_platform","version":"0"},"__constants":{},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"accelerometer *; ambient-light-sensor *; camera *; display-capture *; encrypted-media *; geolocation *; gyroscope *; microphone *; midi *; payment *; serial *; vr *; web-share *; xr-spatial-tracking *","iframe_sandbox":"allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation"},"__graphql":{"data":{"errors":[{"message":"Cannot return null for non-nullable field Query.sessionUser"}],"data":null},"url":"https://codepen.io/graphql","api":"cprails"},"__pay_stripe_public_key":"pk_live_2GndomDfiklqpSNQn8FrGuwZSMIMzha7DkLJqlYe7IR0ihKAlKdiHg68JJc5eVPt68rzAjzAAVXcUwjySHRCsgjQQ00gtRBUFNH","__pay_braintree_env":"production","__boomboom":{"serve_url":"https://cdpn.io/cpe/boomboom","store_url":"https://codepen.io/cpe/boomboom/store"},"__pageType":"embed","__item":"{\"editor_settings\":{\"auto_run\":true,\"autocomplete\":false,\"code_folding\":true,\"css_pre_processor\":\"none\",\"css_prefix\":\"neither\",\"css_starter\":\"neither\",\"emmet_active\":true,\"font_size\":14,\"font_type\":\"system\",\"format_on_save\":false,\"html_pre_processor\":\"none\",\"indent_with\":\"spaces\",\"js_pre_processor\":\"none\",\"key_bindings\":\"normal\",\"line_numbers\":true,\"line_wrapping\":true,\"match_brackets\":true,\"snippets\":{\"markupSnippets\":{},\"stylesheetSnippets\":{}},\"tab_size\":2,\"theme\":\"twilight\",\"id\":\"PVmavE\",\"auto_save\":true},\"hashid\":\"PVmavE\",\"itemType\":\"pen\",\"resources\":[{\"url\":\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css\",\"order\":0,\"resource_type\":\"css\",\"par_content\":\"\"},{\"url\":\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js\",\"order\":2,\"resource_type\":\"js\",\"par_content\":\"\"},{\"url\":\"https://code.jquery.com/jquery-3.2.1.slim.min.js\",\"order\":0,\"resource_type\":\"js\",\"par_content\":\"\"},{\"url\":\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js\",\"order\":1,\"resource_type\":\"js\",\"par_content\":\"\"},{\"url\":\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\",\"order\":1,\"resource_type\":\"css\",\"par_content\":\"\"}],\"tags\":[\"bootstrap 4\",\"bootstrap4\",\"bootstrap 4 alerts\",\"bootstrap 4 alerts box\",\"bootstrap 4 alert box\"],\"id\":32474987,\"user_id\":2230632,\"html\":\"<div class=\\\"container\\\">\\n <h3>\\n <a href=\\\"http://clesolea.com/4N7a\\\" target=\\\"_blank\\\">BOOTSTRAP 4 ALERT BOX</a></h3>\\n <hr />\\n <div class=\\\"alert alert-primary fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-info-circle\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>primary</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n <div class=\\\"alert alert-secondary fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-info-circle\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>secondary</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n<div class=\\\"alert alert-success fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-check-circle\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>success</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n<div class=\\\"alert alert-danger fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-warning\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>danger</b> message! \\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n<div class=\\\"alert alert-warning fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-warning\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>warning</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n<div class=\\\"alert alert-info fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-info-circle\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>info</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n<div class=\\\"alert alert-light fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-lightbulb-o\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>light</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n<div class=\\\"alert alert-dark fade show alert-dismissible\\\" role=\\\"alert\\\">\\n <strong><i class=\\\"fa fa-question-circle\\\" aria-hidden=\\\"true\\\"></i></strong> Use this alert box when you need to highlight the <b>dark</b> message!\\n <button type=\\\"button\\\" class=\\\"close\\\" data-dismiss=\\\"alert\\\" aria-label=\\\"Close\\\">\\n <span aria-hidden=\\\"true\\\">×</span>\\n </button>\\n</div>\\n</div>\",\"css\":\"i{\\n font-size:20px!important;\\n}\",\"js\":\"\",\"html_pre_processor\":\"none\",\"css_pre_processor\":\"none\",\"js_pre_processor\":\"none\",\"html_classes\":\"\",\"css_starter\":\"neither\",\"js_library\":null,\"created_at\":\"2019-02-02T19:04:27.000Z\",\"updated_at\":\"2019-08-10T04:59:15.000Z\",\"title\":\"BOOTSTRAP 4 ALERT BOX\",\"description\":\"High Look Bootstrap 4 Alerts Design, Try it now!\\nhttps://primestudyhub.blogspot.com/search/label/Bootstrap%204\",\"slug_hash\":\"PVmavE\",\"head\":\"\",\"private\":false,\"has_animation\":false,\"team_id\":0,\"css_prefix\":\"neither\",\"template\":false,\"parent_id\":0,\"comments_count\":0,\"custom_screenshot_filename\":null,\"loves_count\":5,\"pick\":false,\"popularity\":459,\"views_count\":4343,\"pick_visible_at\":null,\"cpid\":\"0168af99-0278-77af-8305-4f8eb0146730\",\"is_new_editor_pen\":false,\"access\":\"Public\",\"pen_hash\":null}","__processorsMap":{"autoprefixer":"autoprefixer-10","babel":"babel-7","coffeescript":"coffeescript-2","format-1":"format-1","flutter":"flutter-1","haml":"haml-4","less":"less-3","lint-1":"lint-1","livescript":"livescript-1","markdown":"markdown-11","postcss":"postcss-7","pug":"pug-2","sass":"sass-1","scss":"sass-1","sass-ruby-3":"sass-ruby-3","sass-ruby-compass-3":"sass-ruby-compass-3","slim":"slim-3","stylus":"stylus-0","typescript":"typescript-4","vue":"vue-2","vue3":"vue-3"},"__favicon_mask_icon":"https://cpwebassets.codepen.io/assets/favicon/logo-pin-b4b4269c16397ad2f0f7a01bcdf513a1994f4c94b8af2f191c09eb0d601762b1.svg","__favicon_shortcut_icon":"https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico","__path_to_iframe_console_runner":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeConsoleRunner-6d8bf8b4b479137260842506acbb12717dace0823c023e08b96360e60b0840d9.js","__path_to_iframe_refresh_css":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRefreshCSS-44fe83e49b63affec96918c9af88c0d80b209a862cf87ac46bc933074b8c557d.js","__path_to_iframe_runtime_errors":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRuntimeErrors-4f205f2c14e769b448bcf477de2938c681660d5038bc464e3700256713ebe261.js","__path_to_processor_worker":"https://cpwebassets.codepen.io/assets/packs/router.js","__path_to_stop_execution_on_timeout":"https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js","__pen_normalize_css_url":"https://public.codepenassets.com/css/normalize-5.0.0.min.css","__pen_prefix_free_url":"https://public.codepenassets.com/js/prefixfree-1.0.7.min.js","__pen_reset_css_url":"https://public.codepenassets.com/css/reset-2.0.min.css"}