![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Fluiditype a simple fluid typography css helper for reading experience
Fluiditype a simple fluid typography css helper for reading experience
Fully fluid Headings
, Paragraphs
, Blockquotes
, Lists
, Highlights
, Code snippets
, etc.
This small CSS library serves to avoid responsive web but focus more on fluidity and systematic approach which will let the interface to communicate with the environment and not to be broken by rules. This would work great for blogs, portfolio websites and simple pages.
You can download the package directly from Github.
You can run the git clone command in your Terminal to get the package.
git clone https://github.com/Fluiditype/fluiditype.git
You will find a simple .css
file which would ideally make your typography fluid and responsive to the screensize, without breaking your layout, it would impact only the typography styles.
The main rules are set in a :root
selector, because of it's high specificity. There we declare the global CSS variables, which can be changed and customised to answer the needs of your project.
:root {
--font-size: calc(12px + 0.698vw); /* The character count on */
--line-height: calc(var(--font-size) * 1.4);
--letter-spacing: calc(var(--font-size) * 0.0015);
--font-weight: 300;
}
Everything in the fluiditype.css
file is dependant and connected to the :root selector font-size calculation.
Example:
p, li, b, i, strong, a, mark {
font-size: var(--font-size);
line-height: var(--line-height);
letter-spacing: var(--letter-spacing);
font-feature-settings: normal;
font-family: var(--font-family);
}
The Headings elements representing six levels of section headings. The h1
defines the most important heading. The h6
defines the least important heading.
There are different text elements which are part of the Fluiditype such as p
paragraph element, blockquote
quote element and all different styles that can be used for text like bold
, underlined
, deleted
and mark
.
Ordered ol
and underodered ul
lists with the li
element.
For better documentation and reading experience we added special definitions for some main HTML elements.
The HTML code
element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code.
The HTML pre
element represents preformatted text which is to be presented exactly as written in the HTML file.
We also covered the behaviour of the HTML a
element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address for consistency and better experience with the web typography.
Licensed under the MIT License.
You can always check the cool animations on our own Gatsby developed website, visit Fluiditype.
We are always working on improving Fluiditype, if you want you can always contribute and ask for more, this would help us create something more meaningful.
FAQs
Fluiditype a simple fluid typography css helper for reading experience
The npm package fluiditype receives a total of 2 weekly downloads. As such, fluiditype popularity was classified as not popular.
We found that fluiditype demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.