Menu

Jumbotron

Patrick Garske

jumbotron(content, fluid)


Creates a bare-bones jumbotron/hero element

content - Jumbotron's content

fluid - Determines whether the jumbotron should occupy the entire horizontal space of its parent. Valid options are true and no_arg()


Generates content for the Jumbotron element

title - Content title

lead_text - Content Sub-Title / Catchphrase (Optional)

content - Actual Content (e.g. Text, Links, etc.)

links_to - URL of the primary button

button_text - Label of the primary button

Example

View Working Example

echo jumbotron(jumbotron_content("Jumbotron Title", "Lead Text", "*Insert Actual Content Here*", "#", "Primary Button"), no_arg());

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.