Skip to main content

Posts

Showing posts with the label CSS

Sass Tutorials

Sass   ( S yntactically   A wesome   S tyle s heets)   is scripting language which produces Cascading Style Sheets   (CSS) . Sass is compatible with all CSS version and has assorted features. It is open source and developed in Ruby. What does Sass do? In simple terms by using Sass and its features we can create robust and large Style sheet with less effort and in less time. How to Install Sass? Sass requires Ruby, so if you are using Windows System then you need to install Ruby first. Here is URL of Ruby Installer . Otherwise if you use Mac or Linux System then you don’t need Ruby, it is pre-configured. Use following commands to install Sass sudo gem install sass use following command to verify  Sass is installed properly or not. sass  -v To begin with Sass, create Sass “main.scss” file and CSS “main.css” file Then run following command sass --watch main.scss:main.css It will update main.css file whenever you do changes

CSS: How To Create Custom Scrollbar For Webkit Supported Browsers

In this tutorial, we will learn how to create a custom scroll bar using custom CSS styles. Custom scrollbars are becoming increasingly popular, and I'm excited to learn more about them. A scrollbar can be customised for a variety of reasons. The default scrollbar, for example, can make an app's UI look inconsistent across various versions of windows, thus we can benefit from having a single style here. This tutorial will help to create a custom scrollbar. Let's see how One of the most interesting aspects of these scrollbars is that they may be rendered in a variety of styles for different HTML elements on the same webpage. We will see the implementation of such a scrollbar for Webkit-supported browsers. First we will look at the basic CSS properties of the scrollbar. ::-webkit-scrollbar              ::-webkit-scrollbar-thumb        ::-webkit-scrollbar-track        ::-webkit-scrollbar-button       ::-webkit-scrollbar-track-piece  ::-webkit-scrollbar-cor

Subscribe for latest tutorial updates

* indicates required