Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 935 Bytes
// Copyright 2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// https://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
.grid {
margin: 3rem 5rem;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10rem;
grid-auto-rows: 300px;
@media (max-width: 860px) {
grid-auto-rows: 250px;
grid-gap: 5rem;
}
@media (max-width: 599px) {
margin: 3rem 2rem;
grid-template-columns: 3fr;
grid-auto-rows: 200px;
grid-gap: 5rem;
}
}