<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Css on myByways</title><link>https://myByways.com/tags/css/</link><description>Recent content in Css on myByways</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 11 Jan 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://myByways.com/tags/css/index.xml" rel="self" type="application/rss+xml"/><item><title>Amazing CSS icons at css.gg</title><link>https://myByways.com/post/amazing-css-icons-at-css-gg/</link><pubDate>Tue, 11 Jan 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/amazing-css-icons-at-css-gg/</guid><description>&lt;p&gt;I recently stumbled upon a collection of amazing icons “drawn” with nothing more than CSS! Visit &lt;a href="https://css.gg" rel="external"&gt;css.gg&lt;/a&gt; and browse through 700+ incredible icons created (coded) by Astrit.&lt;/p&gt;</description></item><item><title>New look for the new year 2022</title><link>https://myByways.com/post/new-look-for-the-new-year-2022/</link><pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/new-look-for-the-new-year-2022/</guid><description>&lt;p&gt;&lt;span class="has-text-danger"&gt;Happy New Year!&lt;/span&gt; A big welcome to 2022! I’ve finally updated the look of my blog with a new theme. Well, not really&amp;hellip; you see, I’m not very creative, and so, my theme pretty much remains the same&amp;hellip; just more purple.&lt;/p&gt;</description></item><item><title>Bulma customisation with Sass</title><link>https://myByways.com/post/bulma-customisation-with-sass/</link><pubDate>Fri, 08 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/bulma-customisation-with-sass/</guid><description>&lt;p&gt;I’ve been putting of this post for too long. I use &lt;a href="https://bulma.io/" rel="external"&gt;Bulma&lt;/a&gt; as the CSS framework for this site. I previously used &lt;a href="https://bulma-customizer.bstash.io/" rel="external"&gt;Bulma Customizer&lt;/a&gt; to customize some settings but this does not seem to work anymore. So here is how to customize Bulma CSS yourself.&lt;/p&gt;</description></item><item><title>Running Sass in a container</title><link>https://myByways.com/post/running-sass-in-a-container/</link><pubDate>Wed, 17 Jun 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-sass-in-a-container/</guid><description>&lt;p&gt;Here is how to create a &lt;a href="https://www.docker.com/products/docker-desktop" rel="external"&gt;Docker&lt;/a&gt; container on macOS to “compile” &lt;a href="https://sass-lang.com/" rel="external"&gt;Sass stylesheets&lt;/a&gt; to CSS. In my case, I wanted to (re)compile my &lt;a href="https://bulma.io/" rel="external"&gt;Bulma&lt;/a&gt;-based theme with the latest version 0.9.0 with my variable overrides.&lt;/p&gt;</description></item><item><title>CSS tips to avoid Javascript</title><link>https://myByways.com/post/css-tips-to-avoid-javascript/</link><pubDate>Fri, 03 Apr 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/css-tips-to-avoid-javascript/</guid><description>&lt;p&gt;Recently I’ve been building a few web sites without JavaScript where possible, relying instead on modern browser support for CSS.&lt;/p&gt;
&lt;p&gt;Here are some things I’ve figured out, including toggling the NavBar burger dropdown, smooth scrolling, showing and hiding modal dialogs with transitions!&lt;/p&gt;</description></item><item><title>Single Page Bulma template with Smooth Scroll and Scroll Spy JavaScript</title><link>https://myByways.com/post/single-page-bulma-template-with-smooth-scroll-and-scroll-spy-javascript/</link><pubDate>Wed, 30 Oct 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/single-page-bulma-template-with-smooth-scroll-and-scroll-spy-javascript/</guid><description>&lt;p&gt;I was building a single page website using &lt;a href="https://bulma.io" rel="external"&gt;Bulma&lt;/a&gt;, and I wanted to achieve effects similar to what I was familiar with using &lt;a href="https://startbootstrap.com/themes/creative" rel="external"&gt;Bootstrap’s Creative one page theme&lt;/a&gt;. As you know, Bulma (mostly) does not provide any &lt;strong&gt;JavaScript&lt;/strong&gt; code, so I had to code the &lt;strong&gt;Smooth Scrolling&lt;/strong&gt; and &lt;strong&gt;Scroll Spy&lt;/strong&gt; features I missed. I intentionally avoided &lt;a href="https://jquery.com/" rel="external"&gt;jQuery&lt;/a&gt;! So I present my solution using plain-old JavaScript.&lt;/p&gt;</description></item><item><title>Forcing Dark Mode with prefs-color-scheme Media Query</title><link>https://myByways.com/post/forcing-dark-mode-with-prefs-color-scheme-media-query/</link><pubDate>Sun, 11 Aug 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/forcing-dark-mode-with-prefs-color-scheme-media-query/</guid><description>&lt;p&gt;A few posts ago, I described how to set &lt;a href="https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query"&gt;Dark Mode with the &lt;code&gt;prefs-color-scheme&lt;/code&gt; Media Query&lt;/a&gt;. The browser will detect the OS Dark Mode setting (set in the &lt;strong&gt;Windows Control Panel&lt;/strong&gt; or &lt;strong&gt;macOS System Preferences&lt;/strong&gt;) and use the appropriate CSS Media Query rule. But what if you want to programmatically set either Dark or Light mode irrespective of the OS setting?&lt;/p&gt;</description></item><item><title>Dark Mode with prefers-color-sheme Media Query</title><link>https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query/</link><pubDate>Wed, 03 Jul 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/dark-mode-with-prefers-color-sheme-media-query/</guid><description>&lt;p&gt;&lt;strong&gt;Dark Mode&lt;/strong&gt; is all the rage with desktop and mobile OS’es right now. Interestingly, modern browsers can detect the OS dark mode preference, and use a different set of CSS styles respectively for light or dark modes! Here’s how I updated &lt;a href="https://myByways.com/post/my-custom-grav-theme"&gt;My custom Grav theme&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>My custom Grav theme</title><link>https://myByways.com/post/my-custom-grav-theme/</link><pubDate>Mon, 20 May 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/my-custom-grav-theme/</guid><description>&lt;p&gt;I re-designed my blog template using a new CSS framework called &lt;strong&gt;Bluma&lt;/strong&gt;, re-developed all &lt;strong&gt;JavaScript&lt;/strong&gt; without &lt;strong&gt;jQuery&lt;/strong&gt; and customized some plugins. This was quite a journey, so this post is going to be quite long too!&lt;/p&gt;</description></item></channel></rss>