Are you over 18 and want to see adult content?
More Annotations
A complete backup of https://npac-weiwuying.org
Are you over 18 and want to see adult content?
A complete backup of https://fruitstock.co.il
Are you over 18 and want to see adult content?
A complete backup of https://comfycave.com
Are you over 18 and want to see adult content?
A complete backup of https://stonegroup.co.uk
Are you over 18 and want to see adult content?
A complete backup of https://thedailyedited.com
Are you over 18 and want to see adult content?
A complete backup of https://azazie.com
Are you over 18 and want to see adult content?
A complete backup of https://achperqld.org.au
Are you over 18 and want to see adult content?
A complete backup of https://uglypetsbay.com
Are you over 18 and want to see adult content?
A complete backup of https://thecincinnatiherald.com
Are you over 18 and want to see adult content?
A complete backup of https://kevinmorby.com
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of https://advesti.ru
Are you over 18 and want to see adult content?
A complete backup of https://therawchef.com
Are you over 18 and want to see adult content?
A complete backup of https://99percentinvisible.org
Are you over 18 and want to see adult content?
A complete backup of https://intra2net.com
Are you over 18 and want to see adult content?
A complete backup of https://aleshafond.ru
Are you over 18 and want to see adult content?
A complete backup of https://faytechcc.edu
Are you over 18 and want to see adult content?
A complete backup of https://wizard.com.br
Are you over 18 and want to see adult content?
A complete backup of https://trinitybuoywharf.com
Are you over 18 and want to see adult content?
A complete backup of https://levitravardenafil.com
Are you over 18 and want to see adult content?
A complete backup of https://dampfzentrale.ch
Are you over 18 and want to see adult content?
A complete backup of https://jordansaleol.com
Are you over 18 and want to see adult content?
Text
FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. GRID + FLEXBOX: THE BEST 1-2 PUNCH IN WEB LAYOUT For this case, it worked out to be 1 large column followed by 5 narrower columns of equal width and I let the browser figure out the row heights. .grid { display: grid; grid-template-columns: 30% 9% 9% 9% 9% 9%; justify-content: center; } After that, it was a whole bunch of placement code with the grid-row and grid-column properties. HOSTING A JEKYLL SITE ON GITLAB PAGES SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. PRACTICAL USES FOR THE ASPECT-RATIO MEDIA QUERY This particular layout involving overlap, vertical white-space and transforms would only work well on landscape mode, so I arbitrarily set the baseline aspect ratio to 1/1, and it turned out pretty well. Note that you must use a ratio (number/number) value, otherwise it won’t work. The demo is more fun in a standalone window, so this isthe
CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. ABOUT - CHEN HUI JINGSEE MORE ON CHENHUIJING.COM DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. GRID + FLEXBOX: THE BEST 1-2 PUNCH IN WEB LAYOUT For this case, it worked out to be 1 large column followed by 5 narrower columns of equal width and I let the browser figure out the row heights. .grid { display: grid; grid-template-columns: 30% 9% 9% 9% 9% 9%; justify-content: center; } After that, it was a whole bunch of placement code with the grid-row and grid-column properties. HOSTING A JEKYLL SITE ON GITLAB PAGES SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. PRACTICAL USES FOR THE ASPECT-RATIO MEDIA QUERY This particular layout involving overlap, vertical white-space and transforms would only work well on landscape mode, so I arbitrarily set the baseline aspect ratio to 1/1, and it turned out pretty well. Note that you must use a ratio (number/number) value, otherwise it won’t work. The demo is more fun in a standalone window, so this isthe
ABOUT - CHEN HUI JING The idea for Talk.CSS was born on the Kopi.JS slack channel on October 26, 2015 and within 2 hours, we had a logo, a Gitter channel, a Meetup.com account, a venue for the meetup and a couple speakers. Colour us efficient 😎. I also have a day job as a Frontend Developer at Shopify, because we all need to TALKS - CHEN HUI JING Talks. Sometimes, I'm so overwhelmed by my love for all things HTML and CSS that I feel compelled to tell a large group of people about it. All slides are created with reveal.js, so you can go ahead and click on the slide image to see the full presentation. Source code is available on GitHub. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? See the Pen Pure CSS countdown from 99 to 0 by Chen Hui Jing () on CodePen.. The general approach. If you Google “pure CSS countdown”, my approach of listing all the digits in the markup then doing some form of obscuring the irrelevant digits seems to be the most common solution. UNDERSTANDING BROWSER COOKIES The rest of the attributes are optional but can impact cookie behaviour significantly depending on what values are set. Expires=. When a cookie passes its expiry date, it will no longer be sent with browser requests, and instead will be deleted. The date value is UNDERSTANDING POSITIONING IN CSS CSS layout is not just one individual CSS property or even module. Everything on the web is a box. And the layout of these boxes are determined the following: box dimensions and type. positioning scheme (normal flow, float, and absolute positioning) relationships betweenelements in the
UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
RECREATING THE FOOL'S MATE CHESS MOVE WITH CSS GRID Recreating the Fool's Mate chess move with CSS Grid. When Firefox 66 was released, one of the features that got myself and a couple other layout enthusiasts really excited was the ability to animate grid rows and columns (in addition to grid gaps) when using CSS Grid. It had always been written in the specification, but it took some time for VERTICAL TYPESETTING WITH WRITING-MODE REVISITED The issue with having the main element in vertical writing mode, but the document itself being in horizontal writing mode means that the content starts on the left and we end up seeing the end of the article on first load instead. So let’s move things up one level, and set writing-mode: vertical-rl on the body element instead. BUILDING A CSS-ONLY IMAGE GALLERY (WITH FALLBACKS) The trick to keeping the image gallery within the bounds of the viewport at all times is the vmin unit. It refers to the 1% of either the viewport width or height, whichever is smaller at the moment. By setting the height of the gallery to 100vmin, we can be assured thatthe
CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. SUB-PIXEL RENDERING AND BORDERS TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. HOSTING A JEKYLL SITE ON GITLAB PAGES CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. VERTICAL TYPESETTING WITH WRITING-MODE REVISITEDSEE MORE ONCHENHUIJING.COM
CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. SUB-PIXEL RENDERING AND BORDERS TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. HOSTING A JEKYLL SITE ON GITLAB PAGES CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. VERTICAL TYPESETTING WITH WRITING-MODE REVISITEDSEE MORE ONCHENHUIJING.COM
CHEN HUI JING
The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. BUILDING A WINDOWS 3.1 APPLICATION IN 2019 Oh, how time flies. A little over 2 years ago, we had the first Super Silly Hackathon, and yesterday we had our third one.In case you’re unfamiliar with the concept, it is a hackathon for people who want to build anything for no good reason. TALKS - CHEN HUI JING Talks. Sometimes, I'm so overwhelmed by my love for all things HTML and CSS that I feel compelled to tell a large group of people about it. All slides are created with reveal.js, so you can go ahead and click on the slide image to see the full presentation. Source code is available on GitHub. CHINESE LANGUAGE ON THE WEB Chinese language on the web. If you hadn’t realised by now, I am Chinese. I was born in Malaysia, then studied and now work in Singapore. Like many others with similar backgrounds, we speak both English and Chinese with native fluency, plus a smattering of other languages and dialects here and there. A couple of months back, I wentdown a
UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML If I’d set the grid-auto-flow value to dense, then the auto-placement algorithm would have packed the grid items without explicit grid column positions into the spaces and we’d end up with something like this:. Fallbacks and narrow viewports. By now, I’ve already gotten used to catering for browsers which don’t support grid, as well as for viewports in which my target design simply UNDERSTANDING THE BOX MODEL BY BUILDING A NAVIGATION BAR Step 2: Style the navigation to match design (Attempt 1) This is the step with oh-so-many variations. There are loads of ways to get the navigation to look like the design, given the number of elements available to work with. I started off just putting in fonts, colours,and some padding.
WINDOWS 3.1, A WALK DOWN MEMORY LANE Follow all the instructions up to the point where the networking options kick in. Follow what you can from the original tutorial, and if you use the AMD PCNET Network Drivers.img file included, note that the location of the driver is in A:\WFW31. After some virtual swapping of installation floppy disks, things should be up and running. CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? See the Pen Pure CSS countdown from 99 to 0 by Chen Hui Jing () on CodePen.. The general approach. If you Google “pure CSS countdown”, my approach of listing all the digits in the markup then doing some form of obscuring the irrelevant digits seems to be the most common solution. MIGRATING FROM JEKYLL TO HUGO brew install hugo. Hugo has an import option, so I ran that as the next step, after creating a blank folder as the migration destination. ( jing is my Jekyll source, and migrate is the destination) mkdir migrate hugo import jekyll jing migrate. If all went well, you should see the following output in CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. ABOUT - CHEN HUI JINGSEE MORE ON CHENHUIJING.COM DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. SUB-PIXEL RENDERING AND BORDERS TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? See the Pen Pure CSS countdown from 99 to 0 by Chen Hui Jing () on CodePen.. The general approach. If you Google “pure CSS countdown”, my approach of listing all the digits in the markup then doing some form of obscuring the irrelevant digits seems to be the most common solution. SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. ABOUT - CHEN HUI JINGSEE MORE ON CHENHUIJING.COM DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. SUB-PIXEL RENDERING AND BORDERS TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? See the Pen Pure CSS countdown from 99 to 0 by Chen Hui Jing () on CodePen.. The general approach. If you Google “pure CSS countdown”, my approach of listing all the digits in the markup then doing some form of obscuring the irrelevant digits seems to be the most common solution. SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. ABOUT - CHEN HUI JING The idea for Talk.CSS was born on the Kopi.JS slack channel on October 26, 2015 and within 2 hours, we had a logo, a Gitter channel, a Meetup.com account, a venue for the meetup and a couple speakers. Colour us efficient 😎. I also have a day job as a Frontend Developer at Shopify, because we all need to UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML If I’d set the grid-auto-flow value to dense, then the auto-placement algorithm would have packed the grid items without explicit grid column positions into the spaces and we’d end up with something like this:. Fallbacks and narrow viewports. By now, I’ve already gotten used to catering for browsers which don’t support grid, as well as for viewports in which my target design simply TALKS - CHEN HUI JING Talks. Sometimes, I'm so overwhelmed by my love for all things HTML and CSS that I feel compelled to tell a large group of people about it. All slides are created with reveal.js, so you can go ahead and click on the slide image to see the full presentation. Source code is available on GitHub. UNDERSTANDING THE BOX MODEL BY BUILDING A NAVIGATION BAR Step 2: Style the navigation to match design (Attempt 1) This is the step with oh-so-many variations. There are loads of ways to get the navigation to look like the design, given the number of elements available to work with. I started off just putting in fonts, colours,and some padding.
SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. HOSTING A JEKYLL SITE ON GITLAB PAGES I’ve always hosted my static site projects on GitHub Pages and honestly, it’s been great. Setup takes no time (maybe because I’ve done it so many times before), especially since GitHub simplified the publishing process.But because 🎶 I’m just a sucker for pain 🎶 (insert music to Sucker for Pain from the Suicide Squad OST), I decided to give GitLab Pages a try instead. HOW I DESIGN WITH CSS GRID The grid syntax itself is very visual in nature and I always highlight this fact when I’m teaching Grid. Look at the syntax for a simple grid: .grid { display: grid; grid-template-columns: 150px 150px 150px; grid-template-rows: 200px 200px; } You can already tell GRID + FLEXBOX: THE BEST 1-2 PUNCH IN WEB LAYOUT For this case, it worked out to be 1 large column followed by 5 narrower columns of equal width and I let the browser figure out the row heights. .grid { display: grid; grid-template-columns: 30% 9% 9% 9% 9% 9%; justify-content: center; } After that, it was a whole bunch of placement code with the grid-row and grid-column properties. PRACTICAL USES FOR THE ASPECT-RATIO MEDIA QUERY This particular layout involving overlap, vertical white-space and transforms would only work well on landscape mode, so I arbitrarily set the baseline aspect ratio to 1/1, and it turned out pretty well. Note that you must use a ratio (number/number) value, otherwise it won’t work. The demo is more fun in a standalone window, so this isthe
BUILDING A CSS-ONLY IMAGE GALLERY (WITH FALLBACKS) The trick to keeping the image gallery within the bounds of the viewport at all times is the vmin unit. It refers to the 1% of either the viewport width or height, whichever is smaller at the moment. By setting the height of the gallery to 100vmin, we can be assured thatthe
CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. ABOUT - CHEN HUI JINGSEE MORE ON CHENHUIJING.COM DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. SUB-PIXEL RENDERING AND BORDERS TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? See the Pen Pure CSS countdown from 99 to 0 by Chen Hui Jing () on CodePen.. The general approach. If you Google “pure CSS countdown”, my approach of listing all the digits in the markup then doing some form of obscuring the irrelevant digits seems to be the most common solution. SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. ABOUT - CHEN HUI JINGSEE MORE ON CHENHUIJING.COM DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. SUB-PIXEL RENDERING AND BORDERS TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. CREATING A CUSTOM SUBLIME TEXT COLOUR SCHEME First of all, British spelling. Now that’s out of the way, I recently created a custom colour scheme for Sublime Text, and thought I’d write up a quick note for anyone who’s interested in doing the same.. There are already thousands (I’m guessing) of colour schemes out there already, so if you have better things to do with your life than pick colours, then please, carry on. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? See the Pen Pure CSS countdown from 99 to 0 by Chen Hui Jing () on CodePen.. The general approach. If you Google “pure CSS countdown”, my approach of listing all the digits in the markup then doing some form of obscuring the irrelevant digits seems to be the most common solution. SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. ABOUT - CHEN HUI JING The idea for Talk.CSS was born on the Kopi.JS slack channel on October 26, 2015 and within 2 hours, we had a logo, a Gitter channel, a Meetup.com account, a venue for the meetup and a couple speakers. Colour us efficient 😎. I also have a day job as a Frontend Developer at Shopify, because we all need to UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML If I’d set the grid-auto-flow value to dense, then the auto-placement algorithm would have packed the grid items without explicit grid column positions into the spaces and we’d end up with something like this:. Fallbacks and narrow viewports. By now, I’ve already gotten used to catering for browsers which don’t support grid, as well as for viewports in which my target design simply TALKS - CHEN HUI JING Talks. Sometimes, I'm so overwhelmed by my love for all things HTML and CSS that I feel compelled to tell a large group of people about it. All slides are created with reveal.js, so you can go ahead and click on the slide image to see the full presentation. Source code is available on GitHub. UNDERSTANDING THE BOX MODEL BY BUILDING A NAVIGATION BAR Step 2: Style the navigation to match design (Attempt 1) This is the step with oh-so-many variations. There are loads of ways to get the navigation to look like the design, given the number of elements available to work with. I started off just putting in fonts, colours,and some padding.
SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. HOSTING A JEKYLL SITE ON GITLAB PAGES I’ve always hosted my static site projects on GitHub Pages and honestly, it’s been great. Setup takes no time (maybe because I’ve done it so many times before), especially since GitHub simplified the publishing process.But because 🎶 I’m just a sucker for pain 🎶 (insert music to Sucker for Pain from the Suicide Squad OST), I decided to give GitLab Pages a try instead. HOW I DESIGN WITH CSS GRID The grid syntax itself is very visual in nature and I always highlight this fact when I’m teaching Grid. Look at the syntax for a simple grid: .grid { display: grid; grid-template-columns: 150px 150px 150px; grid-template-rows: 200px 200px; } You can already tell GRID + FLEXBOX: THE BEST 1-2 PUNCH IN WEB LAYOUT For this case, it worked out to be 1 large column followed by 5 narrower columns of equal width and I let the browser figure out the row heights. .grid { display: grid; grid-template-columns: 30% 9% 9% 9% 9% 9%; justify-content: center; } After that, it was a whole bunch of placement code with the grid-row and grid-column properties. PRACTICAL USES FOR THE ASPECT-RATIO MEDIA QUERY This particular layout involving overlap, vertical white-space and transforms would only work well on landscape mode, so I arbitrarily set the baseline aspect ratio to 1/1, and it turned out pretty well. Note that you must use a ratio (number/number) value, otherwise it won’t work. The demo is more fun in a standalone window, so this isthe
BUILDING A CSS-ONLY IMAGE GALLERY (WITH FALLBACKS) The trick to keeping the image gallery within the bounds of the viewport at all times is the vmin unit. It refers to the 1% of either the viewport width or height, whichever is smaller at the moment. By setting the height of the gallery to 100vmin, we can be assured thatthe
CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. TALKS - CHEN HUI JING Talks. Sometimes, I'm so overwhelmed by my love for all things HTML and CSS that I feel compelled to tell a large group of people about it. All slides are created with reveal.js, so you can go ahead and click on the slide image to see the full presentation. Source code is available on GitHub. TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
HANDLING EXTERNAL POSTS ON YOUR OWN JEKYLL SITESEE MORENEW CONTENT WILL BE ADDED ABOVE THE CURRENT AREA OF FOCUS UPON SELECTIONSEE MOREON CHENHUIJING.COM
WHERE DID CSS NAMED COLOURS COME FROM? So I thought that’d be a good place to start. 16 of CSS’s named colors come from HTML originally: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow. Most of the rest come from one version of the X11 color system, used in Unix-derived systems to specify colors for theconsole.
SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. VERTICAL TYPESETTING WITH WRITING-MODE REVISITEDSEE MORE ONCHENHUIJING.COM
CHEN HUI JINGABOUTWORKTALKSBLOGCONTACTSTYLE GUIDE The chronicles of a self-taught designer and developer. Hello! I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web. DEVTOOLS FOR CSS LAYOUTS 2021 EDITION DevTools for CSS layouts 2021 edition. As someone who loves and works with CSS on an almost daily basis, DevTools are something near and dear to my heart. Recently, I’ve been seeing updates from both the Webkit and Chrome team about updates to layout-related DevTools features and thought it’d be nice to do a write-up about them. TALKS - CHEN HUI JING Talks. Sometimes, I'm so overwhelmed by my love for all things HTML and CSS that I feel compelled to tell a large group of people about it. All slides are created with reveal.js, so you can go ahead and click on the slide image to see the full presentation. Source code is available on GitHub. TUNNELLING SERVICES FOR EXPOSING LOCALHOST TO THE WEB You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80:localhost:3000 ssh.localhost.run. There will be a message with the RSA key fingerprint of the localhost.run tunnel server when you connect for the first time,FLEXBOX AND PADDING
One option is to style up the border so it looks like padding around the items in the container. A potential downside to this solution is the position of the scrollbar. Depending on the operating system, this may or may not be an issue. For example, on Windows (screenshot shown below), it is fairly obvious. UNDERSTANDING GRID PLACEMENT THROUGH BUILDING A HTML Step 2: Process items locked to a given row. For each grid item with an explicit grid-row-start and grid-row-end value, put the item on the earliest column-start line which: doesn’t cause overlap with any occupied grid cells. and is past the previous grid item placed thisway.
HANDLING EXTERNAL POSTS ON YOUR OWN JEKYLL SITESEE MORENEW CONTENT WILL BE ADDED ABOVE THE CURRENT AREA OF FOCUS UPON SELECTIONSEE MOREON CHENHUIJING.COM
WHERE DID CSS NAMED COLOURS COME FROM? So I thought that’d be a good place to start. 16 of CSS’s named colors come from HTML originally: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow. Most of the rest come from one version of the X11 color system, used in Unix-derived systems to specify colors for theconsole.
SETTING A CUSTOM DOMAIN FOR GITHUB PAGES Login and go to the Domain Manager. Select the domain name you’re setting up and click on Change Nameservers. Change the nameservers according to the instructions provided by Cloudflare and click on Submit. You should see a message telling you that name server changes will take anything from an hour to 2 days to take effect. VERTICAL TYPESETTING WITH WRITING-MODE REVISITEDSEE MORE ONCHENHUIJING.COM
BLOG
Sub-pixel rendering and borders. Learning CSS by reading specs. Flexbox and padding. Figuring out CSS animation properties with a magic kittencorn. Recreating the Fool's Mate chess move with CSS Grid. The importance of representation. Internet Explorer 3, an adventure in cross-browser compatibility. Building a check-in app with Nexmo'sVerify API.
UNDERSTANDING THE BOX MODEL BY BUILDING A NAVIGATION BAR Step 2: Style the navigation to match design (Attempt 1) This is the step with oh-so-many variations. There are loads of ways to get the navigation to look like the design, given the number of elements available to work with. I started off just putting in fonts, colours,and some padding.
CHINESE LANGUAGE ON THE WEB Chinese language on the web. If you hadn’t realised by now, I am Chinese. I was born in Malaysia, then studied and now work in Singapore. Like many others with similar backgrounds, we speak both English and Chinese with native fluency, plus a smattering of other languages and dialects here and there. A couple of months back, I wentdown a
UNDERSTANDING POSITIONING IN CSS CSS layout is not just one individual CSS property or even module. Everything on the web is a box. And the layout of these boxes are determined the following: box dimensions and type. positioning scheme (normal flow, float, and absolute positioning) relationships betweenelements in the
HANDLING EXTERNAL POSTS ON YOUR OWN JEKYLL SITE To distinguish between an external post and an internal post, you’ll have to add some Front Matter to the external post that the template can use as an identifier. In my case, I add 2 variables, external_site and external_url, to all external posts. external_url: https: //PATH_TO_THE_CANONICAL_VERSION external_site: PUB_NAME. UNDERSTANDING BROWSER COOKIES The rest of the attributes are optional but can impact cookie behaviour significantly depending on what values are set. Expires=. When a cookie passes its expiry date, it will no longer be sent with browser requests, and instead will be deleted. The date value is HOSTING A JEKYLL SITE ON GITLAB PAGES I’ve always hosted my static site projects on GitHub Pages and honestly, it’s been great. Setup takes no time (maybe because I’ve done it so many times before), especially since GitHub simplified the publishing process.But because 🎶 I’m just a sucker for pain 🎶 (insert music to Sucker for Pain from the Suicide Squad OST), I decided to give GitLab Pages a try instead. HTML SLIDES WITHOUT FRAMEWORKS, JUST CSS HTML slides without frameworks, just CSS. I am a huge fan of reveal.js and have used it for almost every talk I’ve ever given. It is a full-featured presentation framework with loads of nifty features, like speaker notes, full-screen mode, code syntax highlighting etc. But sometimes, I just need to toss up a handful of information on ascreen
GRID + FLEXBOX: THE BEST 1-2 PUNCH IN WEB LAYOUT For this case, it worked out to be 1 large column followed by 5 narrower columns of equal width and I let the browser figure out the row heights. .grid { display: grid; grid-template-columns: 30% 9% 9% 9% 9% 9%; justify-content: center; } After that, it was a whole bunch of placement code with the grid-row and grid-column properties. RECREATING THE FOOL'S MATE CHESS MOVE WITH CSS GRID Recreating the Fool's Mate chess move with CSS Grid. When Firefox 66 was released, one of the features that got myself and a couple other layout enthusiasts really excited was the ability to animate grid rows and columns (in addition to grid gaps) when using CSS Grid. It had always been written in the specification, but it took some time forHome
CHEN HUI JING
The chronicles of a self-taught designer and developer. About Work Talks Blog* Mar 30, 2020
CREATE A BASIC VIDEO CHAT WITH VONAGE VIDEO API This article was originally published on The Nexmo Blog. This series of tutorials will explore the Vonage Video API (formerly TokBox OpenTok) and what you can build with it.... Node.js , Javascript , Nexmo* Mar 13, 2020
FLEXBOX AND ABSOLUTE POSITIONING Recently, I’ve been trying to build an open source video conferencing application specifically for online meetups. Just likeevery other...
CSS
* Feb 26, 2020
BEING A BILINGUAL DEVELOPER It’s been a while since I wrote a pure opinion post. If this is your first encounter with me, let’s...Opinion
* Feb 1, 2020
ON ATTRIBUTES FOR HTML FORM ELEMENTS I often come across tutorials about building forms on the web. In spite of all the newfangled techniques and frameworks...HTML
* Jan 25, 2020
CAN YOU MAKE A COUNTDOWN TIMER IN PURE CSS? I must first apologise for the somewhat rhetorical question as the title. About 3 minutes after I wrote it, my...CSS , Javascript
* Jan 21, 2020
BASICS OF STATE AND PROPS IN REACT (2020 EDITION) So I’ve finally decided to sit my butt down and learn React properly. I’ll talk a little bit about my... Javascript , Frameworks ,React
* Jan 15, 2020
IS YOUR BROWSER A POLYGLOT? Over the course of last year, I’ve gone over to Wei’s workplace numerous times to disturb her and her colleagues...Javascript , CSS
* Jan 11, 2020
BUILDING A WINDOWS 3.1 APPLICATION IN 2019 Oh, how time flies. A little over 2 years ago, we had the first Super Silly Hackathon, and yesterday we...Retro tech
* Dec 18, 2019
UNDERSTANDING POSITIONING IN CSS I was at JSConf China earlier this year, which happened in Shanghai from 19–20 Oct. There was fairly decent representation...CSS
* Dec 15, 2019
TALKING ABOUT TALKING CSS 2019 EDITION November 24, 2016. The day I gave my first conference talk at CSSConf.Asia. June 3, 2017. The day I spoke... CSS , Design , Opinionmore ➞
subscribe via RSS
Is currently…
* 📖: Lightning Wires* 🕹: Pharoah
* 📺: Babylon BerlinHELLO!
I'm Hui Jing, a front-end designer and developer who believes HTML and CSS are the foundation of the web.CONNECT WITH ME
* GitHub
* Mastodon
Hand-crafted with love by Chen Hui Jing. © 2014 - 2020 Chen Hui Jing. All rights reserved. Resources Style GuideDetails
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0