Hi guys today I am going to explain about a CSS property known as background-size. This helps in image auto scaling based on screen view. Usual case we use textures to fill background using repeat property. Some time we use single image as background. We can’t use very large time which will take more bandwidth and so we use optimized images. This should auto scale and fit background. To achieve this we can use background-size property of CSS. For an Example
* Author: Dineshkumar
* Contact : firstname.lastname@example.org
background-size: cover; /* <------ */
background-position: center center; /* optional, center the image */
In above example we can give cover as value of background-size property or contain. To demonstrate how this two input value make effect in display let us consider below image as screen in which grey area are out of your visible screen.
If we use this property then image will be fit inside visual area and which may have some blank space which can be filled with background-color property as show in below image.
This makes sure that background is covered everything based on that image will be scaled. So it is like auto scale to cover your entire background. To make you understand please see below image.
Hope you understand the concept behind this property.
Hi as a professional developer we always keen to organize source code through git hub or bitbucket. After creating repository sometime we are in situation to delete such repositories. In bit bucket you can able to do that through following steps:
- Log into your Bitbucket account.
- Navigate to the repository you want to delete.
- Click the repository’s settings icon.
- Choose Delete Repository from the left-hand navigation.
The system displays the deletion dialog.
- (Optional) Enter a URL in the Redirect to field.
Future users who try to access your repository are sent to this new URL.
- Press Delete repository.
Edward Snowden, an American Computer professional & Former CIA employee has warned people against using Google’s new chat app ‘Allo’. The mobile application, that had been launched recently, is termed to be ‘dangerous’ as per the whistle-blower’s information. He tweeted saying that the app records all the messages sent by users, thereby making it available to police upon request.
Google has finally rolled out its messaging app Allo. With brilliant features like
Selective end to end encryption
Text Formatting & mode advanced features.
Experts says Allo can beat WhatsApp. Allo drew criticism its for lack or privacy but google has defended it saying the users can opt for ‘incognito’ mode.
Tech Gaint Google on Thursday extended its support to the Maharashtra govt to make the Continue reading Google to help make Mumbai a ‘WiFi’ city