\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{wernfried} \pdfinfo{ /Title (bulma-css.pdf) /Creator (Cheatography) /Author (wernfried) /Subject (Bulma CSS Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Bulma CSS Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{wernfried} via \textcolor{DarkBackground}{\uline{cheatography.com/215942/cs/47082/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}wernfried \\ \uline{cheatography.com/wernfried} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 27th September, 2025.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Colors}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{is-text is-link is-primary is-info is-success \newline % Row Count 1 (+ 1) is-warning is-danger% Row Count 2 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Available at: \newline .button .notification .progress .table \newline .tag \textless{}is-*\textgreater{}.input \textless{}is-*\textgreater{}-textarea \newline .select .file .info .help .message \newline .navbar .panel .hero} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.button}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-white .is-black .is-light .is-dark \newline % Row Count 1 (+ 1) .is-outlined .is-inverted .is-ghost \newline % Row Count 2 (+ 1) .is-small .is-normal .is-medium \newline % Row Count 3 (+ 1) .is-large .is-fullwidth .is-loading \newline % Row Count 4 (+ 1) .is-static .is-rounded .is-hovered \newline % Row Count 5 (+ 1) .is-loading .is-responsive .is-hovered \newline % Row Count 6 (+ 1) .buttons.are-small \newline % Row Count 7 (+ 1) .buttons.are-medium \newline % Row Count 8 (+ 1) .buttons.are-large \newline % Row Count 9 (+ 1) .buttons.has-addons \newline % Row Count 10 (+ 1) .buttons.is-centered \newline % Row Count 11 (+ 1) .buttons.is-right \newline % Row Count 12 (+ 1) .field.has-addons \newline % Row Count 13 (+ 1) \seqsplit{.field.has-addons.has-addons-centered} \newline % Row Count 14 (+ 1) \seqsplit{.field.has-addons.has-addons-right} \newline % Row Count 15 (+ 1) .field.is-grouped \newline % Row Count 16 (+ 1) \seqsplit{.field.is-grouped.is-grouped-centered} \newline % Row Count 17 (+ 1) \seqsplit{.field.is-grouped.is-grouped-right} \newline % Row Count 18 (+ 1) \seqsplit{.field.is-grouped.is-grouped-multiline}% Row Count 19 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Used on: \newline \textless{}a\textgreater{} \textless{}button\textgreater{} \newline \textless{}input type="submit"\textgreater{} \newline \textless{}input type="reset"\textgreater{}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.card}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`card` \newline % Row Count 1 (+ 1) ` card-header` \newline % Row Count 2 (+ 1) ` card-header-title` \newline % Row Count 3 (+ 1) ` card-header-icon` \newline % Row Count 4 (+ 1) ` card-image` \newline % Row Count 5 (+ 1) ` card-content` \newline % Row Count 6 (+ 1) ` card-footer` \newline % Row Count 7 (+ 1) ` card-footer-item` \newline % Row Count 8 (+ 1) .is-centered% Row Count 9 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.navbar}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`navbar` \newline % Row Count 1 (+ 1) ` navbar-brand` \newline % Row Count 2 (+ 1) ` navbar-burger` \newline % Row Count 3 (+ 1) ` navbar-menu` \newline % Row Count 4 (+ 1) ` navbar-start` \newline % Row Count 5 (+ 1) ` navbar-end` \newline % Row Count 6 (+ 1) ` navbar-item` \newline % Row Count 7 (+ 1) ` navbar-link` \newline % Row Count 8 (+ 1) ` navbar-dropdown` \newline % Row Count 9 (+ 1) ` navbar-divider` \newline % Row Count 10 (+ 1) .is-white .is-black .is-light .is-dark \newline % Row Count 11 (+ 1) .has-shadow .is-fixed-bottom .is-fixed-top \newline % Row Count 12 (+ 1) \seqsplit{.navbar-item.has-dropdown} \newline % Row Count 13 (+ 1) .navbar-item.is-expanded \newline % Row Count 14 (+ 1) .navbar-item.is-tab \newline % Row Count 15 (+ 1) \seqsplit{.navbar-item.is-tab.is-active} \newline % Row Count 16 (+ 1) .navbar-burger.is-active \newline % Row Count 17 (+ 1) .navbar-menu.is-active \newline % Row Count 18 (+ 1) .is-transparen .is-fixed-top .is-fixed-bottom \newline % Row Count 19 (+ 1) .has-navbar-fixed-top on `\textless{}html\textgreater{}` or `\textless{}body\textgreater{}` \newline % Row Count 20 (+ 1) .has-navbar-fixed-bottom on `\textless{}html\textgreater{}` or `\textless{}body\textgreater{}`% Row Count 21 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.menu}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-small .is-medium .is-large \newline % Row Count 1 (+ 1) .menu-list .menu-label% Row Count 2 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Block}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{breadcrumb level message pagination tabs box content notification other progress table title% Row Count 2 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{A simple spacer tool} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Text and Background}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.has-text-* \newline % Row Count 1 (+ 1) .has-background-* \newline % Row Count 2 (+ 1) .has-text-{[}color{]} \newline % Row Count 3 (+ 1) .has-text-{[}color{]}-{[}00..100 step 5{]} \newline % Row Count 4 (+ 1) .has-text-{[}color{]}-light \newline % Row Count 5 (+ 1) .has-text-{[}color{]}-dark \newline % Row Count 6 (+ 1) .has-text-{[}color{]}-soft \newline % Row Count 7 (+ 1) .has-text-{[}color{]}-bold \newline % Row Count 8 (+ 1) .has-text-{[}color{]}-on-scheme \newline % Row Count 9 (+ 1) {[}color{]} = text, link, primary, info, success, warning, danger% Row Count 11 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{icon}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{is-small .is-medium .is-large icon-text% Row Count 1 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{image}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-fullwidth .is-square .is-1by1 .is-5by4 .is-4by3 .is-3by2 .is-5by3 .is-16by9 .is-2by1 .is-3by1 .is-4by5 .is-3by4 .is-2by3 .is-3by5 .is-9by16 .is-1by2 .is-1by3 .is-16x16 .is-24x24 .is-32x32 .is-48x48 .is-64x64 .is-96x96 .is-128x128% Row Count 5 (+ 5) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.notification}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-white .is-black .is-light .is-dark% Row Count 1 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.breadcrumb}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`breadcrumb` \newline % Row Count 1 (+ 1) ` ul` \newline % Row Count 2 (+ 1) ` li` \newline % Row Count 3 (+ 1) .is-small .is-medium .is-large \newline % Row Count 4 (+ 1) .is-centered .is-right \newline % Row Count 5 (+ 1) .has-arrow-separator \newline % Row Count 6 (+ 1) .has-bullet-separator \newline % Row Count 7 (+ 1) .has-dot-separator \newline % Row Count 8 (+ 1) .has-succeeds-separator% Row Count 9 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.pagination}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-small .is-medium .is-large \newline % Row Count 1 (+ 1) .pagination-ellipsis .pagination-list% Row Count 2 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.hero}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`hero` \newline % Row Count 1 (+ 1) ` hero-head` \newline % Row Count 2 (+ 1) ` hero-body` \newline % Row Count 3 (+ 1) ` hero-foot` \newline % Row Count 4 (+ 1) .is-small .is-medium .is-large \newline % Row Count 5 (+ 1) .is-halfheight .is-fullheight \newline % Row Count 6 (+ 1) \seqsplit{.is-fullheight-with-navbar} \newline % Row Count 7 (+ 1) .is-white .is-black .is-light .is-dark \newline % Row Count 8 (+ 1) .hero-video \seqsplit{.hero-video.is-transparent}% Row Count 9 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.message}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-small .is-medium .is-large \newline % Row Count 1 (+ 1) .is-white .is-black .is-light .is-dark \newline % Row Count 2 (+ 1) .message-header .message-body% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Sizes}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-small .is-normal .is-medium .is-large \newline % Row Count 1 (+ 1) Available on \newline % Row Count 2 (+ 1) .delete .content .button .label .breadcrumb .menu .message .ichon .select .pagination .tabs .hero .pagination% Row Count 5 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.progress}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-white .is-black .is-light .is-dark :indeterminate .is-small .is-medium .is-large% Row Count 2 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.table}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`table` \newline % Row Count 1 (+ 1) ` thead` \newline % Row Count 2 (+ 1) ` tfoot` \newline % Row Count 3 (+ 1) ` tbody` \newline % Row Count 4 (+ 1) ` tr` \newline % Row Count 5 (+ 1) ` th` \newline % Row Count 6 (+ 1) ` td` \newline % Row Count 7 (+ 1) .is-selected .is-fullwidth .table-container \newline % Row Count 8 (+ 1) .is-bordered .is-striped .is-narrow \newline % Row Count 9 (+ 1) .is-hoverable .is-fullwidth% Row Count 10 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.tag}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-white .is-black .is-light .is-dark .is-normal .is-medium .is-large .is-delete .is-rounded \newline % Row Count 2 (+ 2) .tags.is-centered .tags.is-right .tags.has-addons% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.title and .subtitle}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-1 .is-2 .is-3 .is-4 .is-5 .is-6 .is-7% Row Count 1 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.file}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{.is-white .is-black .is-light .is-dark .is-small .is-normal .is-medium .is-large .is-centered .is-right .file-label .file-label:hover .file-label:active .file-input .file-cta .file-name .file-icon% Row Count 4 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.dropdown}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`dropdown` \newline % Row Count 1 (+ 1) ` dropdown-trigger` \newline % Row Count 2 (+ 1) ` dropdown-menu` \newline % Row Count 3 (+ 1) ` dropdown-content` \newline % Row Count 4 (+ 1) ` dropdown-item` \newline % Row Count 5 (+ 1) ` dropdown-divider` \newline % Row Count 6 (+ 1) .is-hoverable .is-active .is-right .is-up% Row Count 7 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{.modal}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{`modal` \newline % Row Count 1 (+ 1) ` modal-background` \newline % Row Count 2 (+ 1) ` modal-content` \newline % Row Count 3 (+ 1) ` modal-close` \newline % Row Count 4 (+ 1) `modal` \newline % Row Count 5 (+ 1) ` modal-card` \newline % Row Count 6 (+ 1) ` modal-card-head` \newline % Row Count 7 (+ 1) ` modal-card-title` \newline % Row Count 8 (+ 1) ` modal-card-body` \newline % Row Count 9 (+ 1) ` modal-card-foot` \newline % Row Count 10 (+ 1) .is-active% Row Count 11 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Native Elements}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{checkbox \newline % Row Count 1 (+ 1) radio \newline % Row Count 2 (+ 1) select% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}