Greek tech scene had a great 2017 and expects a fantastic 2018

I believe it is useful at every year-end to do a retrospection on what has happened and take a view of what is coming ahead. On that note, looking back at 2017 we can attest it has been a great year…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to make a responsive web design with Sass

Every programmer at some point has found that the design of the app is not working for diferent screen sizes and the UI gets out of control. I am going to make a tutorial to design the base of a responsive application.

To build our project we are gonna to create this files:

Inside the scss file we are going to create this Sas documents

Here you can find the code which is free to use for users:

Adding this document will guarantee you that everything you program it will look the same regardless the navigator that you are using.

The style.scss file will import all the code from large, medium and small sas when it will be compiled to a css. When we are making a responsive design we work like this way because we do not want too many files but at the same time when we need to make changes in our code will be hard to do maintain it because all the code is in 1 file (style.scss), for that reason we create separate scss files and call it in the styles.scss to later compile it in one single css file

The styles.scss will look like this

In the index.html with call the styles.css with contain all the code

Later in another blog i will explain more some tips to make a better responsive design in the appropriate way.

Add a comment

Related posts:

How do you solve a problem like Maria?

As Puerto Rico recovers from Hurricane Maria’s devastating impact, three islanders who left home for London come to terms with what’s going on back home.

Bear Market Stablecoin Farming

Bitcoin hit a new ATH (All-Time High) on November 10th 2021. Since that period, Bitcoin has been in a steady decline, and the cryptocurrency asset class as a whole has entered a bear market. This…

Walls Immoral Imperative or Impractical

A partition between our southern neighbor and the United States is a self- generating necessity. Border walls were not needed when drug and human trafficking were nonexistent. Border walls were not…