The GitHub Octocat in the a triangle nested in the corner.

abstracted and simlified acorn-shaped logo. Outline with an offset background fill. acorn.css

A minimal (opinionated) classless CSS framework.

Github

# Content Elements

Content elements that would fall between the opening and closing <body> tags.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

The most significant things we can think about, when we think about Apollo, is that it has opened for us, for us being the World, a challenge of the future. The door is now cracked, but the promise of that future lies in the young people, not just in America, but the young people all over the world.

Blockquote We choose to go to the moon. We choose to go to the moon in this decade and do the other things, not because they are easy, but because they are hard, because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win, and the others, too. John F. Kennedy

Learning to live and learning to work together. In order to remind all the peoples of the World, in so many countries throughout the world, that this is what we all are striving for in the future, Jack has picked up a very significant rock, typical of what we have here in the valley of Taurus Littrow External Link. It's a rock composed of many fragments, of many sizes, and many shapes, probably from all parts of the Moon, perhaps billions of years old. But a rock of all sizes and shapes, fragments of all sizes and shapes, and even colors that have grown together to become a cohesive rock outlasting the nature of Space, sort of living together in a very coherent, very peaceful manner. When we return this rock or some of the others like it to Houston, we'd like to share a piece of this rock with so many of the countries throughout the world. We hope that this will be a symbol of what our feelings are, what the feelings of the Apollo Program are, and a symbol of mankind that we can live in peace and harmony in the future.


The Earth is the only world known so far to harbor life for it has water. H2O. There is nowhere else, at least in the near future, to which our species could migrat. Visit, yes. Settle, not yet. Like it or not, for the moment the Earth is where we make our stand.

Blockquote Pullquote Variant Rutrum viverra ipsum sed risus lacinia sollicitudin ultrices neque mattis maecenas turpis leo, iaculis facilisis nibh primis fusce venenatis cursus finibus diam dolor. Pullquote Citation

You could also think about background-color or text-color changes to make this more interesting.

In the last 24 hours we have seen facilities now being created for the greatest and most complex exploration in man's history. We have felt the ground shake and the air shattered by the testing of a Saturn C-1 booster rocket, many times as powerful as the Atlas which launched John Glenn1, generating power equivalent to 10,000 automobiles with their accelerators on the floor. We have seen the site where the F-1 rocket engines, each one as powerful as all eight engines of the Saturn combined, will be clustered together to make the advanced Saturn missile, assembled in a new building to be built at Cape Canaveral as tall as a 48 story structure, as wide as a city block, and as long as two lengths of this field.

Definition Term
Description. Facilisi inceptos nunc convallis eros ullamcorper aenean tempor, risus class ridiculus sodales mi bibendum, himenaeos metus mus efficitur rutrum euismod.
Tristique pretium suscipit
Cras placerat eros pulvinar enim morbi taciti donec ex imperdiet metus augue convallis ultricies id, conubia inceptos erat commodo curabitur fermentum sem faucibus bibendum massa integer maecenas.
            /**
             * Docblock comment.
             *
             * @param {string} argument 1.
             * @param {string} argument 2.
             */
            const functionName = (arg1, arg2) => {
              if ( condition ) {
                return arg1;
              }

              return arg2;
            }
          

CMD + Shift + C

# Image & Media

Multimedia resources such as images, audio, and vide.

Standard audio embed.

Standard embed

A group of various image handling. Luctus tempus congue ac leo etiam egestas imperdiet, dignissim diam ultricies duis tincidunt tristique vulputate, mollis aptent nulla iaculis ornare nascetur. Pharetra turpis imperdiet varius eget viverra consectetur sapien, nibh adipiscing ornare sem neque curae morbi, nulla aliquet nam dignissim lectus tempor. A aenean mus velit ante montes malesuada facilisis posuere, blandit venenatis mauris aptent dictum netus donec ultricies, et nascetur nullam class quam aliquet est. Platea diam iaculis natoque sodales adipiscing magna nisl habitasse ullamcorper, ornare rutrum ante quis vivamus dictum cubilia turpis, bibendum litora leo molestie felis consequat varius duis. Elit nulla tempus aliquam libero interdum gravida senectus tristique parturient, vehicula blandit a semper nec mi varius dolor, amet nibh ullamcorper eros taciti rhoncus ultrices morbi. Nullam neque sagittis malesuada blandit fringilla eros consectetur morbi in, non quis pellentesque vehicula varius iaculis felis luctus, libero viverra laoreet lobortis himenaeos phasellus finibus class. Odio velit nullam massa habitant suspendisse id molestie pretium imperdiet, iaculis vel dictumst hac sollicitudin mauris penatibus parturient, rutrum dignissim curabitur fusce inceptos dictum tempus accumsan. Ligula faucibus dolor integer porttitor blandit dis feugiat euismod augue, convallis accumsan bibendum in maecenas litora nascetur praesent nunc leo, amet fringilla aliquet porta dictum id enim montes.

Carina Nebula photo taken with the James Webb telescope.
Figcaption Text CaptionImage Citation: NASA, ESA, CSA, and STScI

Eget hac lectus vestibulum et himenaeos primis ultricies quam imperdiet fames duis, auctor ornare sodales mus netus dui interdum felis massa nisi, dis parturient arcu gravida velit enim dictum pulvinar semper suscipit. Nostra id urna curae conubia orci sodales egestas litora, himenaeos imperdiet rutrum bibendum rhoncus quis mauris ad dignissim, scelerisque tincidunt in dictum senectus posuere enim. Sapien habitant pharetra non per nunc arcu vitae id ut gravida, inceptos primis cursus velit elementum amet dui morbi tristique, quam dapibus iaculis ridiculus ultrices tincidunt sodales risus volutpat.M

Carina Nebula photo taken with the James Webb telescope.
Classless image alignment: [data-align='wide']Image Citation: NASA's Webb Captures Dying Star's Final 'Performance' in Fine Detail

Suspendisse sociosqu ornare sollicitudin facilisis diam placerat primis viverra, donec gravida dolor ipsum leo pellentesque urna lacus taciti, potenti integer metus himenaeos vestibulum lobortis rutrum. Eu senectus eget hendrerit maximus ornare dictum ut curabitur ad, libero purus nascetur leo dignissim torquent orci aliquet, id mi fusce nunc massa placerat pellentesque cubilia. Efficitur conubia magnis congue magna sit hac parturient primis bibendum, dictum dui ac dignissim velit facilisi dictumst volutpat ridiculus orci, fermentum lobortis dapibus ut consequat accumsan eu et. Potenti in aenean eget elit aliquet enim inceptos eros justo, porta leo vehicula congue pharetra nulla tempor volutpat dictumst habitasse, malesuada id orci aptent ligula duis lectus praesent.

Carina Nebula photo taken with the James Webb telescope.
Default alignment for smaller than max images.Image Citation: NASA, ESA, CSA, and STScI

Praesent ipsum lacus aliquam eu et vel sollicitudin habitasse, malesuada phasellus ac finibus sodales netus accumsan ad, sit integer hac elit consectetur sem amet. Blandit vel dis integer aliquet et maecenas condimentum fermentum egestas scelerisque lobortis, donec consectetur amet montes adipiscing enim lacinia libero hendrerit venenatis, a nibh pellentesque nisi vulputate euismod sed sem leo ad. Curae vel eros ex diam sociosqu potenti purus fringilla, congue habitasse ullamcorper scelerisque tellus maecenas nisi tortor, aenean nulla magnis tristique sollicitudin conubia vulputate.

Carina Nebula photo taken with the James Webb telescope.
Classless image alignment: [data-align="right"]Image Citation: NASA, ESA, CSA, and STScI

Id enim pharetra faucibus ex urna nostra accumsan, gravida parturient leo arcu natoque sed donec, eget luctus risus sapien phasellus nisl. Semper adipiscing est luctus integer vel cras ultricies penatibus phasellus lacinia torquent, leo curae elementum a sagittis fermentum dictum ligula velit. Dictumst eros montes orci massa tincidunt potenti luctus habitant purus est pretium ultrices lobortis mauris, cubilia nostra penatibus conubia hac metus et donec blandit ornare praesent mus ridiculus. Vitae ante id maecenas parturient neque dui commodo class lorem, cras mollis quis tristique proin morbi netus.

Carina Nebula photo taken with the James Webb telescope.
Classless image alignment: [data-align='full']Image Citation: NASA's Webb Captures Dying Star's Final 'Performance' in Fine Detail

Inceptos malesuada euismod tincidunt pellentesque erat tempor ac, dapibus gravida volutpat aliquam commodo proin quisque, auctor magna class quis at hendrerit. Platea ultrices consectetur netus sed quisque, augue ligula auctor luctus mi morbi, porta convallis eleifend amet. Cubilia dui sollicitudin pellentesque feugiat tristique maecenas euismod habitant praesent, fusce consequat vitae ipsum lacus finibus pulvinar dictum, diam ante sem commodo urna velit quis id. Cubilia penatibus mus semper mollis tristique adipiscing pharetra conubia tempus erat, in consectetur sapien pretium amet torquent malesuada hendrerit.

Carina Nebula photo taken with the James Webb telescope.
Classless image alignment: [data-align="left"]Image Citation: NASA, ESA, CSA, and STScI

Id enim pharetra faucibus ex urna nostra accumsan, gravida parturient leo arcu natoque sed donec, eget luctus risus sapien phasellus nisl. Semper adipiscing est luctus integer vel cras ultricies penatibus phasellus lacinia torquent, leo curae elementum a sagittis fermentum dictum ligula velit. Dictumst eros montes orci massa tincidunt potenti luctus habitant purus est pretium ultrices lobortis mauris, cubilia nostra penatibus conubia hac metus et donec blandit ornare praesent mus ridiculus. Vitae ante id maecenas parturient neque dui commodo class lorem, cras mollis quis tristique proin morbi netus.

Convallis mi adipiscing finibus lacinia nec, sociosqu tortor laoreet imperdiet volutpat, posuere risus duis hac. Elit posuere proin malesuada sociosqu bibendum eleifend etiam quisque sed amet, placerat laoreet nostra tortor ad nam taciti praesent mus mauris ultricies, interdum et tincidunt risus fames hac diam pellentesque purus. Et torquent lacus dui ligula luctus cursus purus fusce suspendisse nostra dictum, gravida euismod inceptos nisl tristique porttitor viverra volutpat convallis condimentum, elementum pharetra nascetur arcu id curabitur rhoncus vehicula vel vivamus. Maximus curabitur libero semper inceptos integer dapibus venenatis dis, massa suscipit cubilia arcu dictum risus iaculis, lacus bibendum id convallis ad mus proin duis, odio himenaeos augue justo litora laoreet.

The picture tag.

Carina Nebula photo taken with the James Webb telescope.
Figcaption Text CaptionImage Citation: NASA, ESA, CSA, and STScI

The video tag with [data-align="wide"].

The iframe tag.

# Interactive Elements

Elements (that are widely supported cross-browser) to allow for a more interactive user interface.

Ridiculus proin venenatis dapibus placerats

Hendrerit odio metus accumsan placerat et ultrices laoreet quisque, auctor risus id vestibulum turpis primis consequat volutpat, tristique aptent maecenas ipsum velit lobortis semper. Etiam orci nascetur neque, primis molestie imperdiet, taciti platea.

Tellus magnis accumsan maecenas

Purus iaculis montes cras in magna vivamus facilisis congue eget, fringilla nunc per justo convallis eu litora.

Penatibus nec netus varius porttitor ad suscipit nulla inceptos, ante consequat bibendum tortor mollis natoque risus

Vel congue arcu adipiscing potenti integer parturient facilisis, ridiculus inceptos suscipit odio velit lacus penatibus nisi, iaculis condimentum aenean lectus metus consequat. Diam nibh nascetur imperdiet quisque pellentesque senectus mattis et velit, fermentum vivamus egestas porttitor posuere cursus volutpat semper ultricies, odio integer risus vehicula porta purus ac commodo. Efficitur convallis euismod libero sociosqu tristique cras aenean potenti ad pretium dapibus mi arcu sagittis taciti torquent, tempus platea tincidunt odio feugiat montes vulputate adipiscing malesuada semper ultrices blandit a conubia. Orci dolor semper inceptos luctus platea porta, mollis condimentum nulla lacus sed nisi et, pharetra dignissim iaculis mauris fusce.

# Form Elements

Standard fieldset, form elements, and buttons.

Personal Information
Favorite Animals Dogs
Cats
Fish
Reptiles
Bugs
Dog Person? Yes
No

The data-buttons attribute for wrapping multiple buttons.

Single buttons without a containing wrapper.

# Tables

Uses the data-table attribute to allow for responsive scrolling tables.

Name Long Strings Moons
Saturn Saturn is the sixth planet from the Sun and the second-largest in the Solar System, after Jupiter. It is a gas giant with an average radius of about nine and a half times that of Earth. 83
Neptune Neptune is the eighth planet from the Sun and the farthest known planet in the Solar System. 14
Pluto Pluto is a dwarf planet in the Kuiper belt, a ring of bodies beyond the orbit of Neptune. It is the ninth-largest and tenth-most-massive known object to directly orbit the Sun. 5

# About

This framework was built with some opinions in mind and aimed to solve a few problems.

What's the benefit of being classless?

In my experience, a lot of projects kick off without ever having the most basic building blocks of the site or app taken care of. A site cannot be entirely classless, but this is a great starting point.

What's with the data attributes?

Building with data attributes instead of classes for basic frameworks serve two purposes:

  1. Prove direct access to the data attribute values in CSS.
  2. Easily setup your website for a clean JavaScript implementation with best practices in mind.
Isn't using data attributes less performant?

While there has been some evidence to suggest that data attributes is less performance than classnames, we're using them here sparingly and browser performance in the last five years has improve so much that the difference in performance is negligable.

Why doesn't tabbing work in Safari?

By default keyboard accessibility is turned off. To enable it for Safari you must open preferences and enable "Press Tab to highlight each item on a webpage".

Why don't some features work?

This framework was built to attempt to accommodate as many browser features as possible. I'd suggest looking at Can I Use to make sure that you have browser support for a feature.