我有一个带有标题的盒子,它是position: absolute隐藏的top: 100%.标题的父母有overflow: hidden.当我将鼠标悬停在盒子上时,标题会向上滑动,使其完全可见.
现在的问题是,在此过渡期间,存在像素错误.这意味着转换期间的标题比父框宽1个像素.过渡后,一切看起来都不错.
它出现在Windows 8.1上的IE 11和Mac 10.11.2上的Webkit浏览器中.
你应该在这个小提琴中看到这种效果.当您没有看到像素错误时,请尝试调整窗口大小.
您还会在屏幕截图中看到错误.
我已经尝试过:
overflow-x: hiddentranslate3d嗨,我想将我的构建分成不同的工作。但是,当我在作业中安装东西时Installs,Certificats构建作业中的步骤无法找到以前作业中安装的东西。
是否可以重用之前作业中创建的工作区?更好的是使用不同的阶段,但我认为这是不可能的。
jobs:
- job: Certificats
# install certificates
- job: Installs
# npm install locally and globally
- job: Build Android
dependsOn:
- Certificats
- Installs
# Build Android
- job: Build Android
dependsOn:
- Certificats
- Installs
# Build IOS
Run Code Online (Sandbox Code Playgroud) 我正试图让我的apicontroller工作.但不知怎的,我不能回来Json().
这是编译器的错误消息:
错误CS0029无法将类型'System.Web.Http.Results.JsonResult <>'隐式转换为'System.Web.Mvc.JsonResult'Opten.Polyglott.Web D:\ Development\git\Opten.Polyglott\src\Opten.Polyglott名.web \控制器\ NewsletterApiController.cs
我无法解释为什么它无法转换Json()为ActionResult偶数的Json()继承ActionResult.
这是我的控制器:
using MailChimp;
using MailChimp.Helper;
using Opten.Polyglott.Web.Models;
using Opten.Umbraco.Common.Extensions;
using System.Configuration;
using System.Web.Mvc;
using Umbraco.Core.Logging;
using Umbraco.Web.WebApi;
namespace Opten.Polyglott.Web.Controllers
{
public class NewsletterApiController : UmbracoApiController
{
public ActionResult Subscribe(Newsletter newsletter)
{
bool isSuccessful = false;
if (ModelState.IsValid)
{
isSuccessful = SubscribeEmail(newsletter.Email);
}
return Json(new { isSuccess = isSuccessful });
}
}
}
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助.