All posts by “Sani Halid

css audit
comment 0

Performing CSS Audit

For Susan Robertson of A List Apart, doing CSS audit is like doing a detective job. You can look at the site’s code and dig deeper by seeing how many stylesheets are being called, how they affect the site’s performance and how the CSS itself is written. Your goal is to improve the codebase and make your site run faster.

In her article, she has shared the reasons and benefits to do CSS audit. Some of these benefits include reduced file sizes, guidelines consistency, standardised code and increased performance of the website. Hit the button below to see tips on how to do CSS audit and more.

View More

Filed under: CSS

 

css text and typography
comment 0

CSS Text Attributes

Guy Routledge has released his new video, this time about text and typography in CSS. In this episode, he covers CSS text attributes that makes for better typography and the best times to use them. Here is a gist of CSS text attributes and values discussed in the video. We hope it will be helpful for both web designers and developers in bringing forth good typography practice when building websites.

  • text-align
  • text-decoration
  • text-indent
  • text-overflow
  • text-rendering
  • text-shadow
  • text-transform
  • font-family
  • font-size
  • font-style
  • font-weight
  • font-variant
  • font shorthand
  • line-height
  • letter-spacing
  • word-spacing
  • word-wrap
  • white-space

Hit the button below to watch, and tell us what you think.

Watch the video

Filed under: CSS

 

CSS preprocessors
comment 0

The Purpose of CSS Preprocessors

The three most popular CSS Preprocessors at the moment are SASS, LESS and Stylus. In this Queness article, author Paula Borowska elaborates what makes CSS preprocessors great by presenting some side-by-side comparisons between SASS/LESS codes and regular CSS codes. This is a good introductory article to the world of CSS Preprocessors for readers with intermediate CSS knowledge.

Read More

Filed under: CSS

 

video comparison slider
comment 0

Video Comparison Slider

Previously, I have shared an article on how to make an image comparison slider using pure CSS by Lea Verou after deriving the inspiration from Dudley Storey’s post about the subject. This time, I would like to share a brilliant video comparison slider by Dudley Storey himself. This feature is perfect to use if you intend to promote camera quality to record video. View more to see the video comparison slider in action or hit the code button to inspect the details behind the magic in Codepen.

View More   Code

SVG hover
comment 0

CSS: SVG Hover Interaction

Time for another feature of Codepen demo! This time, Chris (@Colouryum) has created this awesome SVG hover effect to his SVG bulb by using only pure CSS. By applying style to four selectors, the bulb will be animated according to time values assigned in the CSS transition property when on hover. In the second link, he has also created the same SVG hover effect for responsive version.

View Demo   View Responsive

Filed under: CSS

 

Bootstrap vs Foundation
comment 1

Bootstrap VS Foundation

At scotch.io, Chris Sevilleja loves to talk about Foundation 5 framework by ZURB. Foundation 5 is a great front-end framework that is a solid alternative to Bootstrap. It does have a few features that Bootstrap doesn’t, hence it deserves a look at the features before being dismissed. In this post, Chris outlined a cheatsheet about the difference of Bootstrap vs Foundation in terms of CSS elements, class names and also grid names. Enjoy!

View More

scroll page measure
comment 0

Scroll Page Measure

Codepen user Eric showcased a cool JavaScript scroll detection script that can be adopted on any websites to enhance user experience. This is done by triggering certain actions based on the percentage of page scrolled – for instance, showing social sharing buttons or remembering the user scrolling progress on a very long page.

View Demo

simple form validation
comment 0

Simple Form Validation Using Simple-validation.js

HTML forms are easy to build by using only HTML and CSS. However, forms validation is a different story altogether which often requires a lot of JavaScript. Web developer Chad Humphrey created simple-validation.js, a lightweight jQuery plugin for performing basic form validations when the user tabs out of the form fields. This approach allows the user to get instantaneous feedback without having to click on the submit button at the bottom of the form.

View More   View Demo

social share button
comment 0

jQuery Social Sharing Buttons

Social sharing buttons are now necessary in any website as it allows user to easily share interesting web content. However standard sharing buttons tend to add extra load on the server by calling its own set of scripts and styles. Nick Anastasov shares a little plugin for adding jQuery social sharing buttons without slowing down your page. It is easy to use, powered by CSS3, mobile-friendly and fully customizable.

Check the code   View Demo

comment 0

CSS: Search Form Styling Experiment

In her search form demo, Paula Borowska will be showing four different takes on how you can spruce up a search input with the help of CSS transitions. Nothing too crazy – there are about four different search box styles – styled with background fade, expand input on hover, increasing icon size on hover and button will appear on hover. Find out more by hitting on the buttons, please!

View More   View Demo

Filed under: CSS