All Projects → tamalweb → periodic-table

tamalweb / periodic-table

Licence: Apache-2.0 License
Interactive Periodic Table which I made with React.js and CSS Grid. I was trying to memorize all the elements and thought, hey can I make this peculiar layout with my current CSS skills? I finally did

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to periodic-table

periodic-table.io
periodic-table.io
Stars: ✭ 37 (-59.78%)
Mutual labels:  chemistry, periodic-table, periodic-table-of-elements
chemlib
🧪 A comprehensive chemistry library for Python.
Stars: ✭ 26 (-71.74%)
Mutual labels:  chemistry, periodic-table
atom-pwa
Learn the basics of chemistry doing the tests and using the periodic table
Stars: ✭ 41 (-55.43%)
Mutual labels:  chemistry, periodic-table
QCElemental
Periodic table, physical constants, and molecule parsing for quantum chemistry.
Stars: ✭ 116 (+26.09%)
Mutual labels:  chemistry, periodic-table
periodum
Periodum: An Interactive, Open-Source Periodic Table!
Stars: ✭ 346 (+276.09%)
Mutual labels:  chemistry, periodic-table
mendeleev
A python package for accessing various properties of elements, ions and isotopes in the periodic table of elements.
Stars: ✭ 107 (+16.3%)
Mutual labels:  chemistry, periodic-table
ChemistryFeaturization.jl
Interface package for featurizing atomic structures
Stars: ✭ 35 (-61.96%)
Mutual labels:  chemistry
grid-layout
grid-layout is a layout engine which implements grid, can use in canvas/node-canvas
Stars: ✭ 43 (-53.26%)
Mutual labels:  layout
table-layout
Styleable plain-text table generator. Useful for formatting console output.
Stars: ✭ 18 (-80.43%)
Mutual labels:  layout
graph-nvp
GraphNVP: An Invertible Flow Model for Generating Molecular Graphs
Stars: ✭ 69 (-25%)
Mutual labels:  chemistry
diorama
An image layout algorithm
Stars: ✭ 17 (-81.52%)
Mutual labels:  layout
css-pro-layout
CSS library for building responsive and customizable layouts
Stars: ✭ 53 (-42.39%)
Mutual labels:  layout
molml
A library to interface molecules and machine learning.
Stars: ✭ 57 (-38.04%)
Mutual labels:  chemistry
Layou-For-All-iPhone
针对于iPhone全机型,对比iPhone6的适配方案
Stars: ✭ 13 (-85.87%)
Mutual labels:  layout
bubble-layout
An Android ViewGroup that displays avatar bubbles... similar to the chat bubbles on Facebook Messenger.
Stars: ✭ 46 (-50%)
Mutual labels:  layout
PageStatusTransformer
A low invasive state management on Android
Stars: ✭ 12 (-86.96%)
Mutual labels:  layout
TableViewKit
Empowering UITableView with painless multi-type cell support and built-in automatic state transition animations
Stars: ✭ 105 (+14.13%)
Mutual labels:  layout
rc-dock
Dock Layout for React Component
Stars: ✭ 318 (+245.65%)
Mutual labels:  layout
opem
OPEM (Open Source PEM Fuel Cell Simulation Tool)
Stars: ✭ 107 (+16.3%)
Mutual labels:  chemistry
mzLib
Library for mass spectrometry projects
Stars: ✭ 19 (-79.35%)
Mutual labels:  chemistry

The Periodic Table of Elements

Made with CSS Grid, React and Science!

See it in Action!

Blog Post: How I made The Periodic Table with CSS Grid and React

Periodic Table

How it was made?

I made the layout using CSS grid. The table is a bunch of boxes in 18 columns, arranged in a funny way.

I used viewport width to set most of the element dimensions, text sizes, so that the table will scale according to screen sizes. Still, please test it on your end and send me a PR.

I created each box with a <div> with a class of element and number like: element-1

I used emmet to auto populate 118 boxes.

The unique class names helped me arrange them by position in CSS. For example in Element 57 and 89 when the Lathanides and Actinoids split the table, I made them seperate and pushed down the markup. See the main css file on how I did it.

After I arranged the elements the way it is, I then transitioned over React.

React allowed me to make the items interactive. I found a handy JSON that had all the element info which I used to dynamically populate the symbol names and other information. This saved me a lot of time and error making this table.

Would like to talk more about this project? Get in touch!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].